From d94ac7be2eaffac528dd46b8755d517bb4876725 Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 14 Oct 2011 14:27:24 +0000 Subject: fix: if user specified space in starting of topic, re: will strip all prefixes git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5431 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/stuff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3