Don't put the info lines too low on the page in the watching menu.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@547 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2010-05-03 16:27:42 +00:00
parent b0da5fedd1
commit 431ef1e791
1 changed files with 3 additions and 0 deletions

View File

@ -698,6 +698,9 @@ inprogressmenu (int gameid)
shm_sem_post(shm_dg_data);
btm = dgl_local_LINES-btm_banner_hei-top_banner_hei;
if (len <= max_height)
btm = i+1;
if (len > 0) {
mvprintw ((btm+top_banner_hei), 1, "(%d-%d of %d)", offset + 1, offset + i, len);
mvaddstr ((btm+2+top_banner_hei), 1, "Watch which game? ('?' for help) => ");