mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
atl: Avoid harcoding array lengths.
This commit is contained in:
parent
936d5351f5
commit
9bdcfc5d3e
1 changed files with 1 additions and 1 deletions
|
@ -1211,7 +1211,7 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
|
|||
src += strlenW(src) + 1; /* title */
|
||||
if ( GET_WORD(tmp) == '{' ) /* all this mess created because of this line */
|
||||
{
|
||||
static const WCHAR AtlAxWin[9]={'A','t','l','A','x','W','i','n',0};
|
||||
static const WCHAR AtlAxWin[] = {'A','t','l','A','x','W','i','n', 0};
|
||||
PUT_BLOCK(AtlAxWin, sizeof(AtlAxWin)/sizeof(WCHAR));
|
||||
PUT_BLOCK(tmp, strlenW(tmp)+1);
|
||||
} else
|
||||
|
|
Loading…
Reference in a new issue