diff options
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 1d35ca93..3eadd6e7 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -141,7 +141,7 @@ osong(void) "或是 " ANSI_COLOR(1) "3)" ANSI_RESET " 離開: ", ans, sizeof(ans), DOECHO, ""); - if (ans[0] == '1') + if (ans[0] == '1' || ans[0] == '\0') break; else if (ans[0] == '2') { a_menu("點歌歌本", SONGBOOK, 0, NULL); |