From 81ec9caa96cb5d68e6417d168b5eadb17f63a5e4 Mon Sep 17 00:00:00 2001 From: victor Date: Sun, 18 Sep 2005 03:37:22 +0000 Subject: no default option :p git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 3eadd6e7..83b739f6 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -136,12 +136,12 @@ osong(void) move(12, 0); clrtobot(); prints("親愛的 %s 歡迎來到歐桑自動點歌系統\n", cuser.userid); - getdata_str(13, 0, "請選擇 " ANSI_COLOR(1) "1)" ANSI_RESET " 開始點歌、" + getdata(13, 0, "請選擇 " ANSI_COLOR(1) "1)" ANSI_RESET " 開始點歌、" ANSI_COLOR(1) "2)" ANSI_RESET " 看歌本、" "或是 " ANSI_COLOR(1) "3)" ANSI_RESET " 離開: ", - ans, sizeof(ans), DOECHO, ""); + ans, sizeof(ans), DOECHO); - if (ans[0] == '1' || ans[0] == '\0') + if (ans[0] == '1') break; else if (ans[0] == '2') { a_menu("點歌歌本", SONGBOOK, 0, NULL); -- cgit v1.2.3