mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
user32: Avoid hardcoding the Unicode string literal lengths.
This commit is contained in:
parent
c0b31dcdfb
commit
8defd5fc3a
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue