diff options
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r-- | mbbsd/cal.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index d3fe8bb7..1d35ca93 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -139,7 +139,8 @@ osong(void) getdata_str(13, 0, "請選擇 " ANSI_COLOR(1) "1)" ANSI_RESET " 開始點歌、" ANSI_COLOR(1) "2)" ANSI_RESET " 看歌本、" "或是 " ANSI_COLOR(1) "3)" ANSI_RESET " 離開: ", - ans, sizeof(ans), DOECHO, "1"); + ans, sizeof(ans), DOECHO, ""); + if (ans[0] == '1') break; else if (ans[0] == '2') { |