diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:57 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-03-12 11:24:57 +0800 |
commit | e149e8e62b963fb11dd1adb107c0ef19cc381f6a (patch) | |
tree | 556e40cb202c28ee49dbb8ac082c0ca246d94a08 /mbbsd/menu.c | |
parent | bf0ff170400889443fd3e3fffc6b1ae2b1738d68 (diff) | |
download | pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.gz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.bz2 pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.lz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.xz pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.tar.zst pttbbs-e149e8e62b963fb11dd1adb107c0ef19cc381f6a.zip |
remove "proverb" function, which doesn't work for a long time
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2597 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r-- | mbbsd/menu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 8e196afc..933e37b7 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -148,17 +148,14 @@ show_menu(const commands_t * p) { register int n = 0; register char *s; - const char *state[4] = {"用功\型", "安逸型", "自定型", "SHUTUP"}; - char buf[80]; movie(currstat); move(menu_row, 0); while ((s = p[n].desc)) { if (HAS_PERM(p[n].level)) { - snprintf(buf, sizeof(buf), s + 2, state[cuser.proverb % 4]); prints("%*s (\033[1;36m%c\033[0m)%s\n", menu_column, "", s[1], - buf); + s+2); } n++; } |