From 2bc61e59629d9b379513a5f50615cb8aed261bee Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Mon, 16 Jul 2007 22:56:04 +0000 Subject: [PATCH] -get rid of DS_SHELLFONT when set as EXSTYLE, it is a STYLE flag See issue #2289 for more details. svn path=/trunk/; revision=27703 --- reactos/dll/win32/user32/windows/dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/dll/win32/user32/windows/dialog.c b/reactos/dll/win32/user32/windows/dialog.c index 0c7dd3002fb..44433999c9c 100644 --- a/reactos/dll/win32/user32/windows/dialog.c +++ b/reactos/dll/win32/user32/windows/dialog.c @@ -611,7 +611,7 @@ static LPCSTR DIALOG_ParseTemplate32( LPCSTR template, DLG_TEMPLATE * result ) } /* First control is on dword boundary */ - return (LPCSTR)((((int)p) + 3) & ~3); + return (LPCSTR)((((UINT_PTR)p) + 3) & ~3); } /***********************************************************************