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
5c518d91
Commit
5c518d91
authored
Sep 18, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Sep 19, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Fix IDirectXFileDataImpl_GetType.
parent
ff6f7a57
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
d3dxof.c
dlls/d3dxof/d3dxof.c
+3
-2
No files found.
dlls/d3dxof/d3dxof.c
View file @
5c518d91
...
...
@@ -1390,8 +1390,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetType(IDirectXFileData* iface, cons
if
(
!
pguid
)
return
DXFILEERR_BADVALUE
;
/* Native dll returns object guid instead of object template one */
memcpy
(
&
guid
,
&
This
->
pobj
->
class_id
,
16
);
memcpy
(
&
guid
,
&
This
->
pobj
->
type
,
16
);
*
pguid
=
&
guid
;
return
DXFILE_OK
;
...
...
@@ -1803,6 +1802,7 @@ static BOOL parse_object(parse_buffer * buf)
if
(
!
strcmp
((
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
);
break
;
}
}
...
...
@@ -1811,6 +1811,7 @@ static BOOL parse_object(parse_buffer * buf)
FIXME
(
"Unknown template %s
\n
"
,
(
char
*
)
buf
->
value
);
return
FALSE
;
}
if
(
check_TOKEN
(
buf
)
==
TOKEN_NAME
)
{
parse_TOKEN
(
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