diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 03:35:18 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-13 03:35:18 +0800 |
commit | 4e1ad2af155038106cd14a7f5deeee5771b3a531 (patch) | |
tree | e813b8f55e370ac55aba06c310c648f7e3531a4e /mbbsd/var.c | |
parent | 2ec15646e35a5a49bea7eff28963c906afc5fc16 (diff) | |
download | pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar.gz pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar.bz2 pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar.lz pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar.xz pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.tar.zst pttbbs-4e1ad2af155038106cd14a7f5deeee5771b3a531.zip |
* fix bug: incorrect user's tmp buf filename.
* don't test upper case if getdata with LCECHO flag
* add some comment
* some small code revise
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4585 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/var.c')
-rw-r--r-- | mbbsd/var.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/var.c b/mbbsd/var.c index 7a19f051..a9f52c73 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -92,10 +92,8 @@ int currbid; char quote_file[80] = "\0"; char quote_user[80] = "\0"; char currtitle[TTLEN + 1] = "\0"; -char currauthor[IDLEN + 2] = "\0"; const char *currboard = "\0"; char currBM[IDLEN * 3 + 10]; -const char reset_color[4] = ANSI_RESET; char margs[64] = "\0"; /* main argv list */ pid_t currpid; /* current process ID */ time4_t login_start_time; @@ -104,7 +102,6 @@ userec_t cuser; /* current user structure */ crosspost_t postrecord; /* anti cross post */ unsigned int currbrdattr; unsigned int currstat; -uint32_t latest_numposts; /* global string variables */ /* filename */ @@ -313,9 +310,9 @@ char * const ModeTypeTable[] = { }; /* term.c */ -int b_lines = 23; // bottom line of screen +int b_lines = 23; // bottom line of screen (= t_lines - 1) int t_lines = 24; // term lines -int p_lines = 20; +int p_lines = 20; // 扣掉 header(3), footer(1), 畫面上可以顯示資料的行數 int t_columns = 80; /* refer to ansi.h for *len */ |