From 06291aaaf180b520d913cd77901697e54efe036f Mon Sep 17 00:00:00 2001 From: rubidium Date: Sat, 28 Jul 2007 21:00:31 +0000 Subject: (svn r10717) -Fix: in-game console had a "transparent" part when opened in a game, while it did not in the menu. --- src/window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.cpp b/src/window.cpp index 9d400dd83..db4052de3 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -690,7 +690,7 @@ static Window *LocalAllocateWindow( } const Window *wt = FindWindowById(WC_MAIN_TOOLBAR, 0); - w->top = max(w->top, (wt == NULL || w == wt) ? 0 : wt->height); + w->top = max(w->top, (wt == NULL || w == wt || y == 0) ? 0 : wt->height); w->left = max(w->left, 0); SetWindowDirty(w); -- cgit v1.2.3-70-g09d2