Move the cursor after writing the banner only if cursor coords were explicitly defined.

git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@520 db0b04b0-f4d1-0310-9a6d-de3e77497b0e
This commit is contained in:
Pasi Kallinen 2009-12-01 21:55:48 +00:00
parent 4a258cc775
commit 4b8e110006
1 changed files with 2 additions and 1 deletions

View File

@ -1888,6 +1888,7 @@ runmenuloop(struct dg_menu *menu)
clear();
}
drawbanner(&ban, 1, 0);
if (menu->cursor_x >= 0 && menu->cursor_y >= 0)
mvprintw(menu->cursor_y, menu->cursor_x, "");
refresh();
userchoice = getch();