Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender ...
authorNathan Letwory <nathan@letworyinteractive.com>
Sun, 30 May 2010 13:50:59 +0000 (13:50 +0000)
committerNathan Letwory <nathan@letworyinteractive.com>
Sun, 30 May 2010 13:50:59 +0000 (13:50 +0000)
I applied the patch provided by Charlie Shen in the comments of the bug report

intern/ghost/intern/GHOST_WindowWin32.cpp

index 19c3e061159c55082a5c9d1f3660863a8cf8e65a..1da6485019875b3849b846a54b0bc43ef56e3d9a 100644 (file)
@@ -162,7 +162,7 @@ GHOST_WindowWin32::GHOST_WindowWin32(
                        height = th;
                        top = rect.top;
                }
-               else if(top > rect.top)
+               else if(top < rect.top)
                        top = rect.top;
 
                m_hWnd = ::CreateWindow(