From 2146f33c826151e3366290cc9ce64259b477246f Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Sun, 18 Oct 2009 08:46:06 +0000 Subject: [PATCH] Adjust the position of the watching-menu bottom lines git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@477 db0b04b0-f4d1-0310-9a6d-de3e77497b0e --- dgamelaunch.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dgamelaunch.c b/dgamelaunch.c index c9ad3ce..4a9b67c 100644 --- a/dgamelaunch.c +++ b/dgamelaunch.c @@ -459,12 +459,12 @@ inprogressmenu (int gameid) } - mvprintw ((local_LINES-2), 1, "'.' changes sort mode (current: %s)", SORTMODE_NAME[sortmode]); - + i = local_LINES-3; + if ((i+3 > max_height) && len) i = max_height+1; if (len > 0) - mvprintw ((local_LINES-3), 1, "(%d-%d of %d)", offset + 1, offset + i, len); - mvaddstr ((local_LINES-1), 1, - "Watch which game? (letter + enter, 'q' quits, '>'/'<' for more/less) => "); + mvprintw ((i), 1, "(%d-%d of %d)", offset + 1, offset + i, len); + mvprintw ((i+1), 1, "'.' changes sort mode (current: %s)", SORTMODE_NAME[sortmode]); + mvaddstr ((i+2), 1, "Watch which game? (letter + enter, 'q' quits, '>'/'<' for more/less) => "); refresh ();