summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-03 20:01:16 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-03 20:01:16 +0800
commit7226ce15690f667be736c3070a0f540978407fca (patch)
treec6a237a2e0e3bbfd00a227bf142b17110bef2d58 /mbbsd/bbs.c
parent077a4d222ebe2d32998a264cb25e6a05dc7c8454 (diff)
downloadpttbbs-7226ce15690f667be736c3070a0f540978407fca.tar
pttbbs-7226ce15690f667be736c3070a0f540978407fca.tar.gz
pttbbs-7226ce15690f667be736c3070a0f540978407fca.tar.bz2
pttbbs-7226ce15690f667be736c3070a0f540978407fca.tar.lz
pttbbs-7226ce15690f667be736c3070a0f540978407fca.tar.xz
pttbbs-7226ce15690f667be736c3070a0f540978407fca.tar.zst
pttbbs-7226ce15690f667be736c3070a0f540978407fca.zip
artwork fix
- pmore: fixed non-ascii options being dropped - bbs: rollback modified mark to ~ git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3621 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index f644aae0..a853371b 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -330,8 +330,10 @@ readdoent(int num, fileheader_t * ent)
type = '+';
break;
case 2: // unread (modified)
- type = '+';
- typeattr = ANSI_COLOR(1;30);
+ // why not use +? because some terminals may not easily
+ // see highlights easily
+ type = '~';
+ // typeattr = ANSI_COLOR(1;30);
break;
default:
break;
@@ -417,7 +419,7 @@ readdoent(int num, fileheader_t * ent)
*/
prints("%7d", num);
- prints(" %s%c" ESC_STR " [0;1;3%4.4s" ANSI_RESET,
+ prints(" %s%c" ESC_STR "[0;1;3%4.4s" ANSI_RESET,
typeattr, type, recom);
if(IS_LISTING_MONEY)