Nikolay Sivov : comctl32/propsheet: Use wide string literals.
Alexandre Julliard
julliard at winehq.org
Mon May 4 15:49:17 CDT 2020
Module: wine
Branch: master
Commit: 30db9fa830702d9e3975bd58799c0b15b6557047
URL: https://source.winehq.org/git/wine.git/?a=commit;h=30db9fa830702d9e3975bd58799c0b15b6557047
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon May 4 14:11:58 2020 +0300
comctl32/propsheet: Use wide string literals.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/comctl32/propsheet.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 05ab4aa48d..1604b9e961 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -139,8 +139,7 @@ typedef struct
* Defines and global variables
*/
-static const WCHAR PropSheetInfoStr[] =
- {'P','r','o','p','e','r','t','y','S','h','e','e','t','I','n','f','o',0 };
+static const WCHAR PropSheetInfoStr[] = L"PropertySheetInfo";
#define PSP_INTERNAL_UNICODE 0x80000000
@@ -546,7 +545,6 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
{
WCHAR szTitle[256];
const WCHAR *pTitle;
- static const WCHAR pszNull[] = { '(','n','u','l','l',')',0 };
if (IS_INTRESOURCE( lppsp->pszTitle ))
{
@@ -555,7 +553,7 @@ static BOOL PROPSHEET_CollectPageInfo(LPCPROPSHEETPAGEW lppsp,
else if (*p)
pTitle = p;
else
- pTitle = pszNull;
+ pTitle = L"(null)";
}
else
pTitle = lppsp->pszTitle;
More information about the wine-cvs
mailing list