diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 09:47:15 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-04-22 09:47:15 +0800 |
commit | 447da5c6fbcf2ab072d915077da0a066300577bf (patch) | |
tree | 0c5732f1cd7cfacf316b39ea3a23b025bdf87e05 /mbbsd/pmore.c | |
parent | 7bf81de5f0316b35c6437079cc226935f28323d5 (diff) | |
download | pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.gz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.bz2 pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.lz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.xz pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.tar.zst pttbbs-447da5c6fbcf2ab072d915077da0a066300577bf.zip |
- code refine: use ANSI_REVERSE to replace ANSI_COLOR(7), more meaningful.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4229 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r-- | mbbsd/pmore.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index b055539d..7c4f5ec4 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -1599,7 +1599,7 @@ mf_display() sr.cmpfunc((char*)mf.dispe, (char*)sr.search_str, sr.len) == 0) { - outs(ANSI_COLOR(7)); + outs(ANSI_REVERSE); srlen = sr.len-1; flResetColor = 1; } @@ -2832,7 +2832,7 @@ pmore_PromptBar(const char *caption, int shadow) else i = t_columns -2; - outs(ANSI_COLOR(7)); + outs(ANSI_REVERSE); outs(caption); for(i -= strlen(caption); i > 0; i--) outs(" "); |