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
37d03774
Commit
37d03774
authored
Apr 29, 2013
by
Christian Costa
Committed by
Alexandre Julliard
Apr 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Avoid dealing with remaining byte until next token or eof, check_TOKEN handles them fine.
parent
a506d0aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
parsing.c
dlls/d3dxof/parsing.c
+1
-6
No files found.
dlls/d3dxof/parsing.c
View file @
37d03774
...
...
@@ -1114,11 +1114,6 @@ static BOOL parse_template(parse_buffer * buf)
return
FALSE
;
if
(
get_TOKEN
(
buf
)
!=
TOKEN_CBRACE
)
return
FALSE
;
if
(
buf
->
txt
)
{
/* Go to the next template */
go_to_next_definition
(
buf
);
}
TRACE
(
"%d - %s - %s
\n
"
,
buf
->
pdxf
->
nb_xtemplates
,
buf
->
pdxf
->
xtemplates
[
buf
->
pdxf
->
nb_xtemplates
].
name
,
debugstr_guid
(
&
buf
->
pdxf
->
xtemplates
[
buf
->
pdxf
->
nb_xtemplates
].
class_id
));
buf
->
pdxf
->
nb_xtemplates
++
;
...
...
@@ -1128,7 +1123,7 @@ static BOOL parse_template(parse_buffer * buf)
BOOL
parse_templates
(
parse_buffer
*
buf
)
{
while
(
buf
->
rem_bytes
&&
(
check_TOKEN
(
buf
)
==
TOKEN_TEMPLATE
)
)
while
(
check_TOKEN
(
buf
)
==
TOKEN_TEMPLATE
)
{
if
(
!
parse_template
(
buf
))
{
...
...
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