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
e79b7473
Commit
e79b7473
authored
Sep 01, 2008
by
Christian Costa
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Handle comments in templates text format.
parent
675327c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
1 deletion
+19
-1
d3dxof.c
dlls/d3dxof/d3dxof.c
+19
-1
No files found.
dlls/d3dxof/d3dxof.c
View file @
e79b7473
...
...
@@ -226,7 +226,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
goto
error
;
}
if
(
header
[
2
]
==
XOFFILE_FORMAT_
TEXT
)
if
(
header
[
2
]
==
XOFFILE_FORMAT_
BINARY
)
{
FIXME
(
"Binary format not supported yet
\n
"
);
hr
=
DXFILEERR_NOTDONEYET
;
...
...
@@ -560,6 +560,24 @@ static WORD parse_TOKEN_dbg_opt(parse_buffer * buf, BOOL show_token)
if
(
!
read_bytes
(
buf
,
&
c
,
1
))
return
0
;
/*TRACE("char = '%c'\n", is_space(c) ? ' ' : c);*/
if
((
c
==
'#'
)
||
(
c
==
'/'
))
{
/* Handle comment (# or //) */
if
(
c
==
'/'
)
{
if
(
!
read_bytes
(
buf
,
&
c
,
1
))
return
0
;
if
(
c
!=
'/'
)
return
0
;
}
c
=
0
;
while
(
c
!=
0x0A
)
{
if
(
!
read_bytes
(
buf
,
&
c
,
1
))
return
0
;
}
continue
;
}
if
(
is_space
(
c
))
continue
;
if
(
is_operator
(
c
)
&&
(
c
!=
'<'
))
...
...
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