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
cb72f7fb
Commit
cb72f7fb
authored
Jun 04, 2005
by
Aric Stewart
Committed by
Alexandre Julliard
Jun 04, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure the TRACE statements do not spew garbage by using
debugstr_wn.
parent
82af0ed0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
format.c
dlls/msi/format.c
+7
-5
No files found.
dlls/msi/format.c
View file @
cb72f7fb
...
...
@@ -403,7 +403,7 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
return
0
;
}
TRACE
(
"Starting with %s
\n
"
,
debugstr_w
(
ptr
));
TRACE
(
"Starting with %s
\n
"
,
debugstr_w
n
(
ptr
,
len
));
/* scan for special characters... fast exit */
if
((
!
scanW
(
ptr
,
'['
,
len
)
||
(
scanW
(
ptr
,
'['
,
len
)
&&
!
scanW
(
ptr
,
']'
,
len
)))
&&
...
...
@@ -435,8 +435,8 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
{
LPBYTE
nd2
;
TRACE
(
"after value %s
.. %s
\n
"
,
debugstr_w
((
LPWSTR
)
newdata
)
,
debugstr_w
(
mark
));
TRACE
(
"after value %s
\n
"
,
debugstr_wn
((
LPWSTR
)
newdata
,
size
/
sizeof
(
WCHAR
)
));
chunk
=
(
len
-
(
progress
-
ptr
))
*
sizeof
(
WCHAR
);
TRACE
(
"after chunk is %li + %li
\n
"
,
size
,
chunk
);
if
(
size
)
...
...
@@ -477,7 +477,8 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
key
=
value
;
}
TRACE
(
"Current %s .. %s
\n
"
,
debugstr_w
((
LPWSTR
)
newdata
),
debugstr_w
(
key
));
TRACE
(
"Current %s .. %s
\n
"
,
debugstr_wn
((
LPWSTR
)
newdata
,
size
/
sizeof
(
WCHAR
)),
debugstr_w
(
key
));
if
(
!
package
)
{
...
...
@@ -566,7 +567,8 @@ static DWORD deformat_string_internal(MSIPACKAGE *package, LPCWSTR ptr,
progress
=
mark2
+
1
;
}
TRACE
(
"after everything %s
\n
"
,
debugstr_w
((
LPWSTR
)
newdata
));
TRACE
(
"after everything %s
\n
"
,
debugstr_wn
((
LPWSTR
)
newdata
,
size
/
sizeof
(
WCHAR
)));
*
data
=
(
LPWSTR
)
newdata
;
return
size
/
sizeof
(
WCHAR
);
...
...
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