Fixes: #22064 When the Windows task bar is placed on top of the screen, Blender ...
[blender-staging.git] / 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(