From 0a62b727d6bb05f15509a1b152c77afa375647c4 Mon Sep 17 00:00:00 2001 From: ptt Date: Mon, 6 May 2002 13:34:11 +0000 Subject: *** empty log message *** git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@148 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/xyz.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mbbsd/xyz.c') diff --git a/mbbsd/xyz.c b/mbbsd/xyz.c index ee70c303..1cac394a 100644 --- a/mbbsd/xyz.c +++ b/mbbsd/xyz.c @@ -1,4 +1,4 @@ -/* $Id: xyz.c,v 1.3 2002/04/30 13:20:56 lwms Exp $ */ +/* $Id: xyz.c,v 1.4 2002/05/06 13:34:11 ptt Exp $ */ #include #include #include @@ -151,7 +151,6 @@ static int x_gpl() { } #endif -/* 離開 BBS 站 */ int note() { static char *fn_note_tmp = "note.tmp"; static char *fn_note_dat = "note.dat"; @@ -183,7 +182,7 @@ int note() { clrtobot(); outs("\n投五銀... 嗶... 請留言 (至多三行),按[Enter]結束"); for(i = 0; (i < 3) && getdata(16 + i, 0, ":", myitem.buf[i], - sizeof(myitem.buf[i]), DOECHO) + sizeof(myitem.buf[i])-5, DOECHO) && *myitem.buf[i]; i++); getdata(b_lines - 1, 0, "(S)儲存 (E)重新來過 (Q)取消?[S] ", buf, 3, LCECHO); -- cgit v1.2.3