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
39772f97
Commit
39772f97
authored
Dec 30, 2009
by
Christian Costa
Committed by
Alexandre Julliard
Dec 31, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Enable referencing objects defined in current top-level object.
parent
24d6c0a9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
parsing.c
dlls/d3dxof/parsing.c
+2
-2
No files found.
dlls/d3dxof/parsing.c
View file @
39772f97
...
@@ -1198,7 +1198,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
...
@@ -1198,7 +1198,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
if
(
get_TOKEN
(
buf
)
!=
TOKEN_CBRACE
)
if
(
get_TOKEN
(
buf
)
!=
TOKEN_CBRACE
)
return
FALSE
;
return
FALSE
;
TRACE
(
"Found optional reference %s
\n
"
,
(
char
*
)
buf
->
value
);
TRACE
(
"Found optional reference %s
\n
"
,
(
char
*
)
buf
->
value
);
for
(
i
=
0
;
i
<
buf
->
nb_pxo_globals
;
i
++
)
for
(
i
=
0
;
i
<
(
buf
->
nb_pxo_globals
+
1
)
;
i
++
)
{
{
for
(
j
=
0
;
j
<
(
buf
->
pxo_globals
[
i
])[
0
].
nb_subobjects
;
j
++
)
for
(
j
=
0
;
j
<
(
buf
->
pxo_globals
[
i
])[
0
].
nb_subobjects
;
j
++
)
{
{
...
@@ -1207,7 +1207,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
...
@@ -1207,7 +1207,7 @@ static BOOL parse_object_parts(parse_buffer * buf, BOOL allow_optional)
}
}
}
}
_exit:
_exit:
if
(
i
==
buf
->
nb_pxo_globals
)
if
(
i
==
(
buf
->
nb_pxo_globals
+
1
)
)
{
{
ERR
(
"Reference to unknown object %s
\n
"
,
(
char
*
)
buf
->
value
);
ERR
(
"Reference to unknown object %s
\n
"
,
(
char
*
)
buf
->
value
);
return
FALSE
;
return
FALSE
;
...
...
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