diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-10 00:18:23 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-10 00:18:23 +0800 |
commit | 98db1c478e93e1e33b7e0a73e4ef0b234280b032 (patch) | |
tree | 61b2db4cddcd4bfb5f76ce7adb17ed87b6ec2570 /mbbsd | |
parent | f680ef20c2d16966a408c56608b28c1e014c2105 (diff) | |
download | pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar.gz pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar.bz2 pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar.lz pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar.xz pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.tar.zst pttbbs-98db1c478e93e1e33b7e0a73e4ef0b234280b032.zip |
- pmore: compact last blank header entry
- pmore: reduce Big5 buggy backslash characters
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4119 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/pmore.c | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index f4c2fdc4..b1f2ef22 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1019,6 +1019,14 @@ mf_parseHeaders() pmf++; if(pmf >= mf.end) break; + + // strip last line if it is empty. + if (p == pmf && i+1 == fh.lines) + { + fh.lines --; + break; + } + p = pmf; pmf ++; // move to next line. @@ -1791,21 +1799,21 @@ void pmore_Help(); #ifdef PMORE_USE_INTERNAL_HELP static const char * const pmore_help[] = { - "\0閱\讀文章功\能鍵使用說明", - "\01游標移動功\能鍵", + "\0使用說明", + "\01游標移動", "(k/↑) (j/↓/Enter) 上捲/下捲一行", "(^B/PgUp/BackSpace) 上捲一頁", "(^F/PgDn/Space/→) 下捲一頁", "(,/</S-TAB)(./>/TAB) 左/右捲動", "(0/g/Home) ($/G/End) 檔案開頭/結尾", "數字鍵 1-9 (;/:) 跳至輸入的頁數或行數", - "\01進階功\能鍵", + "\01進階瀏覽", "(/) (s) 搜尋關鍵字/切換至其它看板", "(n/N) 重複正/反向搜尋", "(f/b) 跳至下/上篇", "(a/A) 跳至同一作者下/上篇", - "(t/[-/]+) 主題式閱\讀:循序/前/後篇", - "\01其他功\能鍵", + "(t/[-/]+) 主題式瀏覽: 循序/前/後篇", + "\01其他", // the line below is already aligned, because of the backslash. "(o)/(\\) 選項設定/色彩顯示模式", |