diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 11:37:22 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 11:37:22 +0800 |
commit | 81ec9caa96cb5d68e6417d168b5eadb17f63a5e4 (patch) | |
tree | b12e838c289658cd993f573479aaa3f3fc4c8003 | |
parent | b1463ad0650c61d1fc132db7af467f238fb2ee93 (diff) | |
download | pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar.gz pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar.bz2 pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar.lz pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar.xz pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.tar.zst pttbbs-81ec9caa96cb5d68e6417d168b5eadb17f63a5e4.zip |
no default option :p
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3187 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cal.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |