Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
bfa7fded
Commit
bfa7fded
authored
Dec 17, 2008
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 17, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrc: Add a trailing '\n' to some warning and error messages.
parent
f00beab5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
newstruc.c
tools/wrc/newstruc.c
+5
-5
No files found.
tools/wrc/newstruc.c
View file @
bfa7fded
...
@@ -745,21 +745,21 @@ static void handle_ani_icon(riff_tag_t *rtp, enum res_e type, int isswapped)
...
@@ -745,21 +745,21 @@ static void handle_ani_icon(riff_tag_t *rtp, enum res_e type, int isswapped)
if
(
type
==
res_anicur
&&
ctype
!=
2
&&
!
once
)
if
(
type
==
res_anicur
&&
ctype
!=
2
&&
!
once
)
{
{
parser_warning
(
"Animated cursor contains invalid
\"
icon
\"
tag cursor-file (%d->%s)"
,
parser_warning
(
"Animated cursor contains invalid
\"
icon
\"
tag cursor-file (%d->%s)
\n
"
,
ctype
,
ctype
,
ctype
==
1
?
"icontype"
:
"?"
);
ctype
==
1
?
"icontype"
:
"?"
);
once
++
;
once
++
;
}
}
else
if
(
type
==
res_aniico
&&
ctype
!=
1
&&
!
once
)
else
if
(
type
==
res_aniico
&&
ctype
!=
1
&&
!
once
)
{
{
parser_warning
(
"Animated icon contains invalid
\"
icon
\"
tag icon-file (%d->%s)"
,
parser_warning
(
"Animated icon contains invalid
\"
icon
\"
tag icon-file (%d->%s)
\n
"
,
ctype
,
ctype
,
ctype
==
2
?
"cursortype"
:
"?"
);
ctype
==
2
?
"cursortype"
:
"?"
);
once
++
;
once
++
;
}
}
else
if
(
ctype
!=
1
&&
ctype
!=
2
&&
!
once
)
else
if
(
ctype
!=
1
&&
ctype
!=
2
&&
!
once
)
{
{
parser_warning
(
"Animated %s contains invalid
\"
icon
\"
tag file-type (%d; neither icon nor cursor)"
,
anistr
,
ctype
);
parser_warning
(
"Animated %s contains invalid
\"
icon
\"
tag file-type (%d; neither icon nor cursor)
\n
"
,
anistr
,
ctype
);
once
++
;
once
++
;
}
}
...
@@ -811,7 +811,7 @@ static void handle_ani_list(riff_tag_t *lst, enum res_e type, int isswapped)
...
@@ -811,7 +811,7 @@ static void handle_ani_list(riff_tag_t *lst, enum res_e type, int isswapped)
rtp
=
NEXT_TAG
(
rtp
);
rtp
=
NEXT_TAG
(
rtp
);
}
}
else
else
internal_error
(
__FILE__
,
__LINE__
,
"Unknown tag
\"
%c%c%c%c
\"
in RIFF file"
,
internal_error
(
__FILE__
,
__LINE__
,
"Unknown tag
\"
%c%c%c%c
\"
in RIFF file
\n
"
,
isprint
(
rtp
->
tag
[
0
])
?
rtp
->
tag
[
0
]
:
'.'
,
isprint
(
rtp
->
tag
[
0
])
?
rtp
->
tag
[
0
]
:
'.'
,
isprint
(
rtp
->
tag
[
1
])
?
rtp
->
tag
[
1
]
:
'.'
,
isprint
(
rtp
->
tag
[
1
])
?
rtp
->
tag
[
1
]
:
'.'
,
isprint
(
rtp
->
tag
[
2
])
?
rtp
->
tag
[
2
]
:
'.'
,
isprint
(
rtp
->
tag
[
2
])
?
rtp
->
tag
[
2
]
:
'.'
,
...
@@ -921,7 +921,7 @@ ani_curico_t *new_ani_curico(enum res_e type, raw_data_t *rd, int *memopt)
...
@@ -921,7 +921,7 @@ ani_curico_t *new_ani_curico(enum res_e type, raw_data_t *rd, int *memopt)
rtp
=
NEXT_TAG
(
rtp
);
rtp
=
NEXT_TAG
(
rtp
);
}
}
else
else
internal_error
(
__FILE__
,
__LINE__
,
"Unknown tag
\"
%c%c%c%c
\"
in RIFF file"
,
internal_error
(
__FILE__
,
__LINE__
,
"Unknown tag
\"
%c%c%c%c
\"
in RIFF file
\n
"
,
isprint
(
rtp
->
tag
[
0
])
?
rtp
->
tag
[
0
]
:
'.'
,
isprint
(
rtp
->
tag
[
0
])
?
rtp
->
tag
[
0
]
:
'.'
,
isprint
(
rtp
->
tag
[
1
])
?
rtp
->
tag
[
1
]
:
'.'
,
isprint
(
rtp
->
tag
[
1
])
?
rtp
->
tag
[
1
]
:
'.'
,
isprint
(
rtp
->
tag
[
2
])
?
rtp
->
tag
[
2
]
:
'.'
,
isprint
(
rtp
->
tag
[
2
])
?
rtp
->
tag
[
2
]
:
'.'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment