atl: Fix parsing of extended dialog templates.

This commit is contained in:
Alexandre Julliard 2010-06-12 12:08:07 +02:00
parent 579ebdb4cb
commit 6502315162
1 changed files with 2 additions and 2 deletions

View File

@ -1150,7 +1150,7 @@ static LPDLGTEMPLATEW AX_ConvertDialogTemplate(LPCDLGTEMPLATEW src_tmpl)
tmp = src;
if (ext)
src += 11;
src += 12;
else
src += 9;
PUT_BLOCK(tmp, src-tmp);
@ -1236,7 +1236,7 @@ HWND WINAPI AtlAxCreateDialogW(HINSTANCE hInst, LPCWSTR name, HWND owner, DLGPRO
LPDLGTEMPLATEW newptr;
HWND res;
FIXME("(%p %s %p %p %lx) - not tested\n", hInst, debugstr_w(name), owner, dlgProc, param);
TRACE("(%p %s %p %p %lx)\n", hInst, debugstr_w(name), owner, dlgProc, param);
hrsrc = FindResourceW( hInst, name, (LPWSTR)RT_DIALOG );
if ( !hrsrc )