Author: jimtabor
Date: Sat Aug 16 11:01:03 2008
New Revision: 35395
URL:
http://svn.reactos.org/svn/reactos?rev=35395&view=rev
Log:
Wine update to dialog.c, see bug 3644.
Modified:
trunk/reactos/dll/win32/user32/windows/dialog.c
Modified: trunk/reactos/dll/win32/user32/windows/dialog.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/d…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/dialog.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/dialog.c [iso-8859-1] Sat Aug 16 11:01:03 2008
@@ -755,13 +755,12 @@
{
rect.left += MulDiv(template.x, xBaseUnit, 4);
rect.top += MulDiv(template.y, yBaseUnit, 8);
+ if( !(template.style & (WS_CHILD|DS_ABSALIGN)) )
+ ClientToScreen( owner, (POINT *)&rect );
}
if ( !(template.style & WS_CHILD) )
{
INT dX, dY;
-
- if( !(template.style & DS_ABSALIGN) )
- ClientToScreen( owner, (POINT *)&rect );
/* try to fit it into the desktop */