summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/announce.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index eb2e4786..1c63105d 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -895,10 +895,10 @@ a_editsign(const menu_t * pm)
memcpy(&item, &pm->header[pm->now - pm->page], FHSZ);
snprintf(buf, sizeof(buf), "%c%c", item.title[0], item.title[1]);
- if (getdata_buf(b_lines - 1, 1, "²Å¸¹", buf, 5, DOECHO)) {
+ if (getdata_buf(b_lines - 1, 1, "²Å¸¹", buf, 3, DOECHO)) {
item.title[0] = buf[0] ? buf[0] : ' ';
item.title[1] = buf[1] ? buf[1] : ' ';
- item.title[2] = buf[2] ? buf[2] : ' ';
+ item.title[2] = ' ';
setadir(buf, pm->path);
substitute_record(buf, &item, FHSZ, pm->now + 1);
}