user32: In a DLGTEMPLATEEX resource dialog version goes before signature.
This commit is contained in:
parent
a204f099c6
commit
9e93906658
|
@ -349,10 +349,10 @@ static LPCSTR DIALOG_ParseTemplate32( LPCSTR template, DLG_TEMPLATE * result )
|
|||
WORD signature;
|
||||
WORD dlgver;
|
||||
|
||||
signature = GET_WORD(p); p++;
|
||||
dlgver = GET_WORD(p); p++;
|
||||
signature = GET_WORD(p); p++;
|
||||
|
||||
if (signature == 1 && dlgver == 0xffff) /* DIALOGEX resource */
|
||||
if (dlgver == 1 && signature == 0xffff) /* DIALOGEX resource */
|
||||
{
|
||||
result->dialogEx = TRUE;
|
||||
result->helpId = GET_DWORD(p); p += 2;
|
||||
|
|
Loading…
Reference in New Issue