summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index e97d6e3f..923bea0a 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1,4 +1,4 @@
-/* $Id: board.c,v 1.4 2002/04/15 20:00:22 in2 Exp $ */
+/* $Id: board.c,v 1.5 2002/04/28 19:35:28 in2 Exp $ */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -837,7 +837,8 @@ static void choose_board(int newflag) {
show_brdlist(head, 1, newflag);
break;
case '/':
- getdata_buf(b_lines-1,0,"請輸入看板中文關鍵字:",keyword, 12, DOECHO);
+ getdata_buf(b_lines-1,0,"請輸入看板中文關鍵字:",
+ keyword, sizeof(keyword), DOECHO);
brdnum=-1;
break;
case 'S':