Commit 4a0c440d authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

comctl32/rebar: Use wide string literals.

parent 202c7176
...@@ -302,8 +302,7 @@ static const char * const band_maskname[] = { ...@@ -302,8 +302,7 @@ static const char * const band_maskname[] = {
"RBBIM_CHEVRONSTATE", /* 0x00002000 */ "RBBIM_CHEVRONSTATE", /* 0x00002000 */
NULL }; NULL };
static const WCHAR themeClass[] = L"Rebar";
static const WCHAR themeClass[] = { 'R','e','b','a','r',0 };
static CHAR * static CHAR *
REBAR_FmtStyle(char *buffer, UINT style) REBAR_FmtStyle(char *buffer, UINT style)
...@@ -1010,7 +1009,6 @@ REBAR_ForceResize (REBAR_INFO *infoPtr) ...@@ -1010,7 +1009,6 @@ REBAR_ForceResize (REBAR_INFO *infoPtr)
static VOID static VOID
REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus) REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
{ {
static const WCHAR strComboBox[] = { 'C','o','m','b','o','B','o','x',0 };
REBAR_BAND *lpBand; REBAR_BAND *lpBand;
WCHAR szClassName[40]; WCHAR szClassName[40];
UINT i; UINT i;
...@@ -1047,7 +1045,7 @@ REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus) ...@@ -1047,7 +1045,7 @@ REBAR_MoveChildWindows (const REBAR_INFO *infoPtr, UINT start, UINT endplus)
} }
GetClassNameW (lpBand->hwndChild, szClassName, ARRAY_SIZE(szClassName)); GetClassNameW (lpBand->hwndChild, szClassName, ARRAY_SIZE(szClassName));
if (!lstrcmpW (szClassName, strComboBox) || if (!lstrcmpW (szClassName, WC_COMBOBOXW) ||
!lstrcmpW (szClassName, WC_COMBOBOXEXW)) { !lstrcmpW (szClassName, WC_COMBOBOXEXW)) {
INT nEditHeight, yPos; INT nEditHeight, yPos;
RECT rc; RECT rc;
......
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