summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pttbbs/mbbsd/stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/stuff.c b/pttbbs/mbbsd/stuff.c
index ebc72cc7..5042b0ff 100644
--- a/pttbbs/mbbsd/stuff.c
+++ b/pttbbs/mbbsd/stuff.c
@@ -57,7 +57,7 @@ subject_ex(const char *title, int *ptype)
ptype = _set_ptype(ptype, SUBJECT_NORMAL);
break;
}
- while (*title == ' ')
+ if (*title == ' ')
title ++;
} while (1);
return title;