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
ae56f3d0
Commit
ae56f3d0
authored
Apr 10, 2016
by
Jean-Christophe Cardot
Committed by
Alexandre Julliard
Apr 12, 2016
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winhlp32: Add some trace calls.
Signed-off-by:
Jean-Christophe Cardot
<
wine@cardot.net
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
58f16273
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
hlpfile.c
programs/winhlp32/hlpfile.c
+4
-1
No files found.
programs/winhlp32/hlpfile.c
View file @
ae56f3d0
...
...
@@ -693,6 +693,7 @@ static BOOL HLPFILE_RtfAddRawString(struct RtfData* rd, const char* str, size_t
static
BOOL
HLPFILE_RtfAddControl
(
struct
RtfData
*
rd
,
const
char
*
str
)
{
WINE_TRACE
(
"%s
\n
"
,
debugstr_a
(
str
));
if
(
*
str
==
'\\'
||
*
str
==
'{'
)
rd
->
in_text
=
FALSE
;
else
if
(
*
str
==
'}'
)
rd
->
in_text
=
TRUE
;
return
HLPFILE_RtfAddRawString
(
rd
,
str
,
strlen
(
str
));
...
...
@@ -1258,6 +1259,8 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd,
format
=
buf
+
0x15
;
format_end
=
buf
+
GET_UINT
(
buf
,
0x10
);
WINE_TRACE
(
"Record type (buf[0x14]) = 0x%x
\n
"
,
buf
[
0x14
]);
if
(
buf
[
0x14
]
==
HLP_DISPLAY
||
buf
[
0x14
]
==
HLP_TABLE
)
{
fetch_long
(
&
format
);
...
...
@@ -1440,13 +1443,13 @@ static BOOL HLPFILE_BrowseParagraph(HLPFILE_PAGE* page, struct RtfData* rd,
/* else: null text, keep on storing attributes */
text
+=
textsize
+
1
;
WINE_TRACE
(
"format=%02x
\n
"
,
*
format
);
if
(
*
format
==
0xff
)
{
format
++
;
break
;
}
WINE_TRACE
(
"format=%02x
\n
"
,
*
format
);
switch
(
*
format
)
{
case
0x20
:
...
...
Vitaly Lipatov
@lav
mentioned in commit
dfcc043e
·
Sep 03, 2020
mentioned in commit
dfcc043e
mentioned in commit dfcc043e0cc8c448087574bb2fa5bc908b7ca4c9
Toggle commit list
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