From dd0fac984ba413cb3ab3fc77a1630671142f6abf Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 29 Jul 2007 19:19:30 +0000 Subject: (svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels. --- src/window.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/window.cpp') diff --git a/src/window.cpp b/src/window.cpp index 0427dd309..e8a6b8802 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -2082,6 +2082,7 @@ void RelocateAllWindows(int neww, int newh) break; case WC_SEND_NETWORK_MSG: + ResizeWindow(w, clamp(neww, 320, 640) - w->width, 0); top = (newh - 26); // 26 = height of status bar + height of chat bar left = (neww - w->width) >> 1; break; -- cgit v1.2.3-54-g00ecf