user32: Avoid hardcoding the Unicode string literal lengths.

oldstable
Francois Gouget 2011-12-16 13:06:35 +01:00 committed by Alexandre Julliard
parent c0b31dcdfb
commit 8defd5fc3a
1 changed files with 1 additions and 1 deletions

View File

@ -932,7 +932,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
int colorIdx = uFlags & DFCS_INACTIVE ? COLOR_BTNSHADOW : COLOR_BTNTEXT;
int xc = (myr.left+myr.right)/2;
int yc = (myr.top+myr.bottom)/2;
WCHAR str[2] = {0, 0};
WCHAR str[] = {0, 0};
static const WCHAR glyphFontName[] = { 'M','a','r','l','e','t','t',0 };
UINT alignsave;
int bksave;