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:
parent
6dbe2b5348
commit
30db9fa830
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue