fix curses compile warning

From hardfought; latest gcc complains that /* fall through other stuff */
doesn't match its pattern for /* fall through */ comment indicating
that omitted 'break' statement is intentional and one switch case is
deliberately continuing into the code for another.
This commit is contained in:
PatR
2019-11-15 19:03:11 -08:00
parent ae415589e9
commit 8a7169eda9

View File

@@ -87,7 +87,7 @@ curses_create_window(int width, int height, orient orientation)
switch (orientation) {
default:
impossible("curses_create_window: Bad orientation");
/* fall through to centre */
/*FALLTHRU*/
case CENTER:
startx = (term_cols / 2) - (width / 2);
starty = (term_rows / 2) - (height / 2);