diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-06 15:32:00 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-06 15:32:00 +0800 |
commit | 569aa811cbf2349c31e6a7acee70f08dfb398417 (patch) | |
tree | b33b3c0259e6c7b3b13e34136a2ee4dddef2ef21 | |
parent | 00df91c3a3122d87aa9994137447809a2b2c9cef (diff) | |
download | pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar.gz pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar.bz2 pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar.lz pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar.xz pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.tar.zst pttbbs-569aa811cbf2349c31e6a7acee70f08dfb398417.zip |
format update according to user habits
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2779 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/pmore.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index dd95ab20..403a4b99 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1644,14 +1644,16 @@ pmore(char *fpath, int promptend) if(allpages >= 0) sprintf(buf, - " 瀏覽 第 %1d/%1d 頁 ", + " 瀏覽 第 %1d/%1d 頁 (%3d%%) ", nowpage, - allpages + allpages, + progress ); else sprintf(buf, - " 瀏覽 第 %1d 頁 ", - nowpage + " 瀏覽 第 %1d 頁 (%3d%%) ", + nowpage, + progress ); outs(buf); prefixlen += strlen(buf); @@ -1660,8 +1662,7 @@ pmore(char *fpath, int promptend) if(mf.xpos > 0) { sprintf(buf, - " 閱\讀進度%3d%%, %d~%d 欄位, %02d~%02d 行", - progress, + " 顯示範圍: %d~%d 欄位, %02d~%02d 行", (int)mf.xpos+1, (int)(mf.xpos + t_columns-(mf.trunclines ? 2 : 1)), (int)(mf.lineno + 1), @@ -1669,8 +1670,7 @@ pmore(char *fpath, int promptend) ); } else { sprintf(buf, - " 閱\讀進度%3d%%, 目前顯示: 第 %02d~%02d 行", - progress, + " 目前顯示: 第 %02d~%02d 行", (int)(mf.lineno + 1), (int)(mf.lineno + mf.dispedlines) ); |