aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-08-06 18:15:24 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-08-06 18:15:24 +0200
commit1fece7b090e00d57d3a7182e577358d41dc62457 (patch)
tree23b4c23f9e5af8ee707934266a2df8d4e0514d46
parent7b320737b5f723d4e6c2dd285ad24c1a8d76a75e (diff)
downloadmblaze-1fece7b090e00d57d3a7182e577358d41dc62457.tar.gz
mscan: oneline: don't show not existing messages as unseen
-rw-r--r--mscan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mscan.c b/mscan.c
index 1232afa..c7c8a43 100644
--- a/mscan.c
+++ b/mscan.c
@@ -307,7 +307,7 @@ oneline(char *file)
case 'u': // unseen
if (strchr(flags, 'F'))
putchar('*');
- else if (!strchr(flags, 'S'))
+ else if (msg && !strchr(flags, 'S'))
putchar('.');
else if (strchr(flags, 'T'))
putchar('x');