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
b99367e2
Commit
b99367e2
authored
Feb 14, 2001
by
François Gouget
Committed by
Alexandre Julliard
Feb 14, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debugstr_xxx already does the quoting.
parent
5e632119
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
menu.c
controls/menu.c
+1
-1
toolbar.c
dlls/comctl32/toolbar.c
+4
-4
ole2nls.c
ole/ole2nls.c
+1
-1
No files found.
controls/menu.c
View file @
b99367e2
...
...
@@ -266,7 +266,7 @@ static void do_debug_print_menuitem(const char *prefix, MENUITEM * mp,
if
(
typ
==
MFT_STRING
)
{
if
(
mp
->
text
)
DPRINTF
(
", Text=
\"
%s
\"
"
,
debugstr_w
(
mp
->
text
));
DPRINTF
(
", Text=
%s
"
,
debugstr_w
(
mp
->
text
));
else
DPRINTF
(
", Text=Null"
);
}
else
if
(
mp
->
text
==
NULL
)
...
...
dlls/comctl32/toolbar.c
View file @
b99367e2
...
...
@@ -209,7 +209,7 @@ TOOLBAR_DrawString (TOOLBAR_INFO *infoPtr, TBUTTON_INFO *btnPtr,
/* get a pointer to the text */
lpText
=
TOOLBAR_GetText
(
infoPtr
,
btnPtr
);
TRACE
(
"lpText:
\"
%s
\"
\n
"
,
debugstr_w
(
lpText
));
TRACE
(
"lpText:
%s
\n
"
,
debugstr_w
(
lpText
));
/* draw text */
if
(
lpText
)
{
...
...
@@ -1879,7 +1879,7 @@ TOOLBAR_AddStringW (HWND hwnd, WPARAM wParam, LPARAM lParam)
len
=
LoadStringW
((
HINSTANCE
)
wParam
,
(
UINT
)
lParam
,
szString
,
MAX_RESOURCE_STRING_LENGTH
);
TRACE
(
"len=%d
\"
%s
\"
\n
"
,
len
,
debugstr_w
(
szString
));
TRACE
(
"len=%d
%s
\n
"
,
len
,
debugstr_w
(
szString
));
TRACE
(
"First char: 0x%x
\n
"
,
*
szString
);
if
(
szString
[
0
]
==
L'|'
)
{
...
...
@@ -1902,7 +1902,7 @@ TOOLBAR_AddStringW (HWND hwnd, WPARAM wParam, LPARAM lParam)
}
len
=
COMCTL32_StrChrW
(
p
,
L'|'
)
-
p
;
TRACE
(
"len=%d
\"
%s
\"
\n
"
,
len
,
debugstr_w
(
p
));
TRACE
(
"len=%d
%s
\n
"
,
len
,
debugstr_w
(
p
));
infoPtr
->
strings
[
infoPtr
->
nNumStrings
]
=
COMCTL32_Alloc
(
sizeof
(
WCHAR
)
*
(
len
+
1
));
lstrcpynW
(
infoPtr
->
strings
[
infoPtr
->
nNumStrings
],
p
,
len
);
...
...
@@ -1944,7 +1944,7 @@ TOOLBAR_AddStringW (HWND hwnd, WPARAM wParam, LPARAM lParam)
while
(
*
p
)
{
len
=
strlenW
(
p
);
TRACE
(
"len=%d
\"
%s
\"
\n
"
,
len
,
debugstr_w
(
p
));
TRACE
(
"len=%d
%s
\n
"
,
len
,
debugstr_w
(
p
));
if
(
infoPtr
->
nNumStrings
==
0
)
{
infoPtr
->
strings
=
COMCTL32_Alloc
(
sizeof
(
LPWSTR
));
...
...
ole/ole2nls.c
View file @
b99367e2
...
...
@@ -438,7 +438,7 @@ static INT NLS_LoadStringExW(HMODULE hModule, LANGID lang_id, UINT res_id, LPWST
}
FreeResource
(
hmem
);
TRACE
(
"
\"
%s
\"
loaded!
\n
"
,
debugstr_w
(
buffer
));
TRACE
(
"
%s
loaded!
\n
"
,
debugstr_w
(
buffer
));
return
(
i
+
1
);
}
...
...
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