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
ce313a5b
Commit
ce313a5b
authored
Aug 29, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Aug 29, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Fix guid syntax.
parent
7d71805a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
d3dxof.c
dlls/d3dxof/d3dxof.c
+2
-2
d3dxof.c
dlls/d3dxof/tests/d3dxof.c
+4
-5
No files found.
dlls/d3dxof/d3dxof.c
View file @
ce313a5b
...
...
@@ -77,7 +77,7 @@ WINE_DEFAULT_DEBUG_CHANNEL(d3dxof);
#define TOKEN_CSTRING 51
#define TOKEN_ARRAY 52
#define CLSIDFMT "<%08X-%04X-%04X-%02X%02X%02X%02X%02X%02X%02X%02X>"
#define CLSIDFMT "<%08X-%04X-%04X-%02X%02X
-
%02X%02X%02X%02X%02X%02X>"
typedef
struct
{
/* Buffer to parse */
...
...
@@ -383,7 +383,7 @@ static BOOL is_guid(parse_buffer* buf)
}
tmp
[
pos
++
]
=
'>'
;
tmp
[
pos
]
=
0
;
if
(
pos
!=
3
7
/* <+35
+> */
)
if
(
pos
!=
3
8
/* <+36
+> */
)
{
TRACE
(
"Wrong guid %s (%d)
\n
"
,
tmp
,
pos
);
return
FALSE
;
...
...
dlls/d3dxof/tests/d3dxof.c
View file @
ce313a5b
...
...
@@ -30,10 +30,10 @@ char template[] =
"xof 0302txt 0064
\n
"
"template Header
\n
"
"{
\n
"
"<3D82AB43-62DA-11CF-AB390020AF71E433>
\n
"
"WORD major
;
\n
"
"WORD minor
;
\n
"
"DWORD flags
;
\n
"
"<3D82AB43-62DA-11CF-AB39
-
0020AF71E433>
\n
"
"WORD major;
\n
"
"WORD minor;
\n
"
"DWORD flags;
\n
"
"}
\n
"
;
static
void
init_function_pointers
(
void
)
...
...
@@ -79,7 +79,6 @@ static void test_d3dxof(void)
ref
=
IDirectXFile_Release
(
lpDirectXFile
);
ok
(
ref
==
1
,
"Got refcount %ld, expected 1
\n
"
,
ref
);
/* RegisterTemplates does not support txt format yet */
hr
=
IDirectXFile_RegisterTemplates
(
lpDirectXFile
,
template
,
strlen
(
template
));
ok
(
hr
==
DXFILE_OK
,
"IDirectXFileImpl_RegisterTemplates: %x
\n
"
,
hr
);
...
...
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