summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-26 01:49:48 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-05-26 01:49:48 +0800
commitb2bd875e479043e5b858b8912c985c6aacbf6661 (patch)
tree685a9eea045451214a54a879088bdc5b48ab1755 /mbbsd/mail.c
parent64d82081dd1094c9d645a8702b9199f54dd0a52d (diff)
downloadpttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar.gz
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar.bz2
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar.lz
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar.xz
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.tar.zst
pttbbs-b2bd875e479043e5b858b8912c985c6aacbf6661.zip
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@233 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index a67f4002..9f7da59a 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -1,4 +1,4 @@
-/* $Id: mail.c,v 1.9 2002/05/25 11:18:11 ptt Exp $ */
+/* $Id: mail.c,v 1.10 2002/05/25 17:49:48 ptt Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -829,7 +829,7 @@ static void mailtitle() {
}
static void maildoent(int num, fileheader_t *ent) {
- char *title, *mark, color, type = "+ Mm"[ent->filemode];
+ char *title, *mark, color, type = "+ Mm"[(ent->filemode&3)];
if (TagNum && !Tagger(atoi(ent->filename + 2), 0, TAG_NIN))
type = 'D';