diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-07 01:26:20 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-07 01:26:20 +0800 |
commit | 448870ea0728ce1b1b16b8a5156f12ae2096da74 (patch) | |
tree | 476d06792ffc03bd9b208bcf0c419ec61addb836 /mbbsd | |
parent | 0a62b727d6bb05f15509a1b152c77afa375647c4 (diff) | |
download | pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar.gz pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar.bz2 pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar.lz pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar.xz pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.tar.zst pttbbs-448870ea0728ce1b1b16b8a5156f12ae2096da74.zip |
fix title
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@149 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/menu.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index a6cfdb5e..59668377 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -1,4 +1,4 @@ -/* $Id: menu.c,v 1.5 2002/05/05 19:16:59 in2 Exp $ */ +/* $Id: menu.c,v 1.6 2002/05/06 17:26:20 in2 Exp $ */ #include <stdio.h> #include <stdlib.h> #include <time.h> @@ -56,15 +56,13 @@ void showtitle(char *title, char *mid) { spc = strlen(mid); if(title[0] == 0) title++; -#ifdef DEBUG -#ifndef NO_SHOWPID +#ifdef DEBUG && !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; |