Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
eea90178
Commit
eea90178
authored
Oct 04, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Use BOOL type where appropriate.
parent
2042a659
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
parsing.c
dlls/d3dxof/parsing.c
+4
-4
No files found.
dlls/d3dxof/parsing.c
View file @
eea90178
...
...
@@ -510,11 +510,11 @@ static BOOL is_name(parse_buffer* buf)
char
tmp
[
512
];
DWORD
pos
=
0
;
char
c
;
BOOL
error
=
0
;
BOOL
error
=
FALSE
;
while
(
pos
<
buf
->
rem_bytes
&&
!
is_separator
(
c
=
*
(
buf
->
buffer
+
pos
)))
{
if
(
!
(((
c
>=
'a'
)
&&
(
c
<=
'z'
))
||
((
c
>=
'A'
)
&&
(
c
<=
'Z'
))
||
((
c
>=
'0'
)
&&
(
c
<=
'9'
))
||
(
c
==
'_'
)
||
(
c
==
'-'
)))
error
=
1
;
error
=
TRUE
;
if
(
pos
<
sizeof
(
tmp
))
tmp
[
pos
]
=
c
;
pos
++
;
...
...
@@ -602,7 +602,7 @@ static BOOL is_string(parse_buffer* buf)
char
tmp
[
512
];
DWORD
pos
=
0
;
char
c
;
BOOL
ok
=
0
;
BOOL
ok
=
FALSE
;
if
(
*
buf
->
buffer
!=
'"'
)
return
FALSE
;
...
...
@@ -612,7 +612,7 @@ static BOOL is_string(parse_buffer* buf)
c
=
*
(
buf
->
buffer
+
pos
+
1
);
if
(
c
==
'"'
)
{
ok
=
1
;
ok
=
TRUE
;
break
;
}
if
(
pos
<
sizeof
(
tmp
))
...
...
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