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
0fea04af
Commit
0fea04af
authored
Dec 28, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Dec 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Template names are case insensitive.
parent
87cc3e19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
d3dxof.c
dlls/d3dxof/d3dxof.c
+6
-6
No files found.
dlls/d3dxof/d3dxof.c
View file @
0fea04af
...
...
@@ -1088,13 +1088,13 @@ static BOOL parse_template_members_list(parse_buffer * buf)
cur_member
->
idx_template
=
0
;
while
(
cur_member
->
idx_template
<
buf
->
pdxf
->
nb_xtemplates
)
{
if
(
!
strcmp
((
char
*
)
buf
->
value
,
buf
->
pdxf
->
xtemplates
[
cur_member
->
idx_template
].
name
))
if
(
!
strc
asec
mp
((
char
*
)
buf
->
value
,
buf
->
pdxf
->
xtemplates
[
cur_member
->
idx_template
].
name
))
break
;
cur_member
->
idx_template
++
;
}
if
(
cur_member
->
idx_template
==
buf
->
pdxf
->
nb_xtemplates
)
{
TRACE
(
"Reference to a nonexistent template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
ERR
(
"Reference to a nonexistent template '%s'
\n
"
,
(
char
*
)
buf
->
value
);
return
FALSE
;
}
}
...
...
@@ -1977,7 +1977,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
/* To do template lookup */
for
(
j
=
0
;
j
<
buf
->
pdxf
->
nb_xtemplates
;
j
++
)
{
if
(
!
strcmp
(
buf
->
pdxf
->
xtemplates
[
pt
->
members
[
i
].
idx_template
].
name
,
buf
->
pdxf
->
xtemplates
[
j
].
name
))
if
(
!
strc
asec
mp
(
buf
->
pdxf
->
xtemplates
[
pt
->
members
[
i
].
idx_template
].
name
,
buf
->
pdxf
->
xtemplates
[
j
].
name
))
{
buf
->
pxt
[
buf
->
level
]
=
&
buf
->
pdxf
->
xtemplates
[
j
];
break
;
...
...
@@ -1985,7 +1985,7 @@ static BOOL parse_object_members_list(parse_buffer * buf)
}
if
(
j
==
buf
->
pdxf
->
nb_xtemplates
)
{
FIXME
(
"Unknown template %s
\n
"
,
(
char
*
)
buf
->
value
);
ERR
(
"Unknown template %s
\n
"
,
(
char
*
)
buf
->
value
);
buf
->
level
--
;
return
FALSE
;
}
...
...
@@ -2186,7 +2186,7 @@ static BOOL parse_object(parse_buffer * buf)
/* To do template lookup */
for
(
i
=
0
;
i
<
buf
->
pdxf
->
nb_xtemplates
;
i
++
)
{
if
(
!
strcmp
((
char
*
)
buf
->
value
,
buf
->
pdxf
->
xtemplates
[
i
].
name
))
if
(
!
strc
asec
mp
((
char
*
)
buf
->
value
,
buf
->
pdxf
->
xtemplates
[
i
].
name
))
{
buf
->
pxt
[
buf
->
level
]
=
&
buf
->
pdxf
->
xtemplates
[
i
];
memcpy
(
&
buf
->
pxo
->
type
,
&
buf
->
pdxf
->
xtemplates
[
i
].
class_id
,
16
);
...
...
@@ -2195,7 +2195,7 @@ static BOOL parse_object(parse_buffer * buf)
}
if
(
i
==
buf
->
pdxf
->
nb_xtemplates
)
{
FIXME
(
"Unknown template %s
\n
"
,
(
char
*
)
buf
->
value
);
ERR
(
"Unknown template %s
\n
"
,
(
char
*
)
buf
->
value
);
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