Merge branch 'NetHack-3.6'
This commit is contained in:
@@ -87,7 +87,7 @@ curses_create_window(int width, int height, orient orientation)
|
|||||||
switch (orientation) {
|
switch (orientation) {
|
||||||
default:
|
default:
|
||||||
impossible("curses_create_window: Bad orientation");
|
impossible("curses_create_window: Bad orientation");
|
||||||
/* fall through to centre */
|
/*FALLTHRU*/
|
||||||
case CENTER:
|
case CENTER:
|
||||||
startx = (term_cols / 2) - (width / 2);
|
startx = (term_cols / 2) - (width / 2);
|
||||||
starty = (term_rows / 2) - (height / 2);
|
starty = (term_rows / 2) - (height / 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user