comctl32/propsheet: Use wide string literals.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-05-04 14:11:58 +03:00 committed by Alexandre Julliard
parent 6dbe2b5348
commit 30db9fa830
1 changed files with 2 additions and 4 deletions

View File

@ -139,8 +139,7 @@ typedef struct
* Defines and global variables * Defines and global variables
*/ */
static const WCHAR PropSheetInfoStr[] = static const WCHAR PropSheetInfoStr[] = L"PropertySheetInfo";
{'P','r','o','p','e','r','t','y','S','h','e','e','t','I','n','f','o',0 };
#define PSP_INTERNAL_UNICODE 0x80000000 #define PSP_INTERNAL_UNICODE 0x80000000
@ -546,7 +545,6 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
{ {
WCHAR szTitle[256]; WCHAR szTitle[256];
const WCHAR *pTitle; const WCHAR *pTitle;
static const WCHAR pszNull[] = { '(','n','u','l','l',')',0 };
if (IS_INTRESOURCE( lppsp->pszTitle )) if (IS_INTRESOURCE( lppsp->pszTitle ))
{ {
@ -555,7 +553,7 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
else if (*p) else if (*p)
pTitle = p; pTitle = p;
else else
pTitle = pszNull; pTitle = L"(null)";
} }
else else
pTitle = lppsp->pszTitle; pTitle = lppsp->pszTitle;