summaryrefslogtreecommitdiffstats
path: root/mbbsd/more.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-17 14:08:05 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-12-17 14:08:05 +0800
commit0d0998b6ace327e445c691088d8d4dca105cec4f (patch)
treeb499e6374bfa12cd98d62f84495cbad059597662 /mbbsd/more.c
parentb794e341a4f15d6d3596a7d1b39e396dfc30eb3f (diff)
downloadpttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar.gz
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar.bz2
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar.lz
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar.xz
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.tar.zst
pttbbs-0d0998b6ace327e445c691088d8d4dca105cec4f.zip
cdoc finished
comments for brc.c, fav.c do not allow a board to be added twice in fav git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2379 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/more.c')
-rw-r--r--mbbsd/more.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/more.c b/mbbsd/more.c
index 00abacfd..342d457b 100644
--- a/mbbsd/more.c
+++ b/mbbsd/more.c
@@ -34,7 +34,9 @@ static char * const more_help[] = {
NULL
};
+#if DEPRECATED__UNUSED
int beep = 0;
+#endif
static void
more_goto(int fd, struct MorePool *mp, off_t off)
@@ -263,10 +265,12 @@ more(char *fpath, int promptend)
}
outc('\n');
+#if DEPRECATED__UNUSED
if (beep) {
bell();
beep = 0;
}
+#endif
if (line < b_lines) /* ¤@¯ë¸ê®ÆŪ¨ú */
line++;