diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/voteboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c index ff89ec1a..b85253aa 100644 --- a/mbbsd/voteboard.c +++ b/mbbsd/voteboard.c @@ -221,7 +221,7 @@ do_voteboard(int type) snprintf(genbuf, sizeof(genbuf), "%s\n\n%s%s\n%s", "申請新板", "英文名稱: ", topic, "中文名稱: "); - if (!getdata(8, 0, "請輸入看板中文名稱:", topic, 20, DOECHO)) + if (!getdata(8, 0, "請輸入看板中文名稱:", topic, BTLEN + 1, DOECHO)) return FULLUPDATE; strcat(genbuf, topic); strcat(genbuf, "\n看板類別: "); |