summaryrefslogtreecommitdiffstats
path: root/mbbsd/menu.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-06 03:17:01 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-06 03:17:01 +0800
commit094f77cf0e97ce1a64bffb6dfa933927e5fd901f (patch)
tree9ffa1dcaeb9ffdfd05755eaf1f9a771ef83527ad /mbbsd/menu.c
parent56ce644a35d7da469905e786bc50b56f5454b034 (diff)
downloadpttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar.gz
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar.bz2
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar.lz
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar.xz
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.tar.zst
pttbbs-094f77cf0e97ce1a64bffb6dfa933927e5fd901f.zip
NO_SHOWPID
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@146 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/menu.c')
-rw-r--r--mbbsd/menu.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c
index a765adae..a6cfdb5e 100644
--- a/mbbsd/menu.c
+++ b/mbbsd/menu.c
@@ -1,4 +1,4 @@
-/* $Id: menu.c,v 1.4 2002/05/02 17:24:35 in2 Exp $ */
+/* $Id: menu.c,v 1.5 2002/05/05 19:16:59 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
@@ -57,12 +57,14 @@ void showtitle(char *title, char *mid) {
if(title[0] == 0)
title++;
#ifdef DEBUG
+#ifndef NO_SHOWPID
else{
sprintf(numreg, "\033[41;5m current pid: %6d " TITLE_COLOR,
getpid());
mid = numreg;
spc = 22;
}
+#endif
#else
else if(currutmp->mailalert) {
mid = "\033[41;5m ¶l®t¨Ó«ö¹aÅo " TITLE_COLOR;