Commit b99367e2 authored by François Gouget's avatar François Gouget Committed by Alexandre Julliard

debugstr_xxx already does the quoting.

parent 5e632119
......@@ -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)
......
......@@ -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));
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment