diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-17 23:39:03 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-17 23:39:03 +0800 |
commit | d7b30413673c6f7a68d60523d59435b1fc1353b9 (patch) | |
tree | 9c7a409a8726ad7ae52b3f2b931476c33faa7a0c | |
parent | 3382e681e1a9248c1648af81d53d79449eacc082 (diff) | |
download | pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar.gz pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar.bz2 pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar.lz pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar.xz pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.tar.zst pttbbs-d7b30413673c6f7a68d60523d59435b1fc1353b9.zip |
remove default option
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3183 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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') { |