Module: wine Branch: master Commit: 650231516290b99cf0e9f1e0b5fe275f4ac4c3c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=650231516290b99cf0e9f1e0b5...
Author: Alexandre Julliard julliard@winehq.org Date: Sat Jun 12 12:08:07 2010 +0200
atl: Fix parsing of extended dialog templates.
---
dlls/atl/atl_ax.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/atl/atl_ax.c b/dlls/atl/atl_ax.c index 616713c..cf654e1 100644 --- a/dlls/atl/atl_ax.c +++ b/dlls/atl/atl_ax.c @@ -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 )