Remove a stray 'else' left by a previous patch

Dmitry Timoshkov dmitry at baikal.ru
Wed Sep 15 09:41:27 CDT 2004


Hello,

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    Remove a stray 'else' left by a previous patch.

--- cvs/hq/wine/dlls/x11drv/winpos.c	Mon Sep 13 23:32:16 2004
+++ wine/dlls/x11drv/winpos.c	Wed Sep 15 14:39:46 2004
@@ -711,7 +711,7 @@ static BOOL fixup_flags( WINDOWPOS *winp
     if ((wndPtr->rectWindow.left == winpos->x) && (wndPtr->rectWindow.top == winpos->y))
         winpos->flags |= SWP_NOMOVE;    /* Already the right position */
 
-    else if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD)
+    if ((wndPtr->dwStyle & (WS_POPUP | WS_CHILD)) != WS_CHILD)
     {
         if (!(winpos->flags & SWP_NOACTIVATE)) /* Bring to the top when activating */
         {






More information about the wine-patches mailing list