Revert "Revert "eliminate a couple of build warnings (noticed with clang)""

This reverts commit 1a8395002f.
This commit is contained in:
nhmall
2025-01-13 11:48:46 -05:00
parent 1a8395002f
commit 6dad19a4f6
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -991,7 +991,8 @@ X11_putstr(winid window, int attr, const char *str)
X11_destroy_nhwindow(window);
*wp = window_list[new_win];
window_list[new_win].type = NHW_NONE; /* allow re-use */
/* fall through */
FALLTHROUGH;
/*FALLTHRU*/
case NHW_TEXT:
add_to_text_window(wp, attr, str);
break;