From: Mischa POSLAWSKY Date: Sun, 4 Mar 2007 10:18:16 +0000 (+0100) Subject: message window needs to show at least 2 history lines X-Git-Url: http://git.shiar.nl/netris.git/commitdiff_plain/b3738f1f2b079c7eb910051bdca26e54b5f3e592 message window needs to show at least 2 history lines --- diff --git a/curses.c b/curses.c index 2c4b87c..5a90d21 100644 --- a/curses.c +++ b/curses.c @@ -292,7 +292,7 @@ void InitFields(void) messageYPos = 24; messageWidth = MIN(x - messageXPos - 2, MSG_WIDTH); messageHeight = MIN(y - messageYPos - 1, MSG_HEIGHT); - if (messageHeight <= 0) { + if (messageHeight < 3) { messageWidth = MIN(x - statusXPos - 18, 27); messageHeight = y - 3; messageXPos = statusXPos + 16;