(svn r10726) -Codechange: make it possible that the chat window is less than 640 pixels.

This commit is contained in:
rubidium
2007-07-29 19:19:30 +00:00
parent 17370d5ae7
commit 000b582423
2 changed files with 6 additions and 5 deletions

View File

@@ -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;