1
0
mirror of https://git.zap.org.au/git/trader.git synced 2024-11-03 17:27:29 -05:00

Adjust the Stock Exchange windows slightly by one line

The company listing is now one line shorter, and the menu of choices
window is one line longer.
This commit is contained in:
John Zaitseff 2012-04-14 12:36:43 +10:00
parent 48bf36b719
commit 674de34873

View File

@ -83,7 +83,7 @@ void exchange_stock (void)
return; return;
} }
newtxwin(17, WIN_COLS, 1, WCENTER, false, 0); newtxwin(16, WIN_COLS, 1, WCENTER, false, 0);
w = getmaxx(curwin); w = getmaxx(curwin);
while (selection != SEL_EXIT) { while (selection != SEL_EXIT) {
@ -176,7 +176,7 @@ void exchange_stock (void)
wrefresh(curwin); wrefresh(curwin);
// Show menu of choices for the player // Show menu of choices for the player
newtxwin(6, WIN_COLS, 18, WCENTER, true, attr_normal_window); newtxwin(7, WIN_COLS, 17, WCENTER, true, attr_normal_window);
left(curwin, 3, 2, attr_normal, attr_keycode, 0, 1, left(curwin, 3, 2, attr_normal, attr_keycode, 0, 1,
_("^{<1>^} Display stock portfolio")); _("^{<1>^} Display stock portfolio"));