summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-18 11:15:02 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-09-18 11:15:02 +0800
commitb1463ad0650c61d1fc132db7af467f238fb2ee93 (patch)
tree97c5cf2110170af0104cd71335b829a40fb5dc68 /mbbsd
parent04b4c909f7ae61ca54cc3f34399bef085e488010 (diff)
downloadpttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar.gz
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar.bz2
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar.lz
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar.xz
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.tar.zst
pttbbs-b1463ad0650c61d1fc132db7af467f238fb2ee93.zip
default to order
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3186 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/cal.c2
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);