diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-14 22:27:24 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2011-10-14 22:27:24 +0800 |
commit | d94ac7be2eaffac528dd46b8755d517bb4876725 (patch) | |
tree | 338b798d1190792de9e7a10c29056f2762308b0c | |
parent | 0130cce451032a199b58d046dd370cceab689926 (diff) | |
download | pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar.gz pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar.bz2 pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar.lz pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar.xz pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.tar.zst pttbbs-d94ac7be2eaffac528dd46b8755d517bb4876725.zip |
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
-rw-r--r-- | pttbbs/mbbsd/stuff.c | 2 |
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; |