From e0add5db86c65cdef0389396db8bf96843c5bab7 Mon Sep 17 00:00:00 2001 From: in2 Date: Sat, 22 Mar 2003 13:45:56 +0000 Subject: fix bug of screen overflow git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@708 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/vice.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd/vice.c') diff --git a/mbbsd/vice.c b/mbbsd/vice.c index 2f5aa310..2792e47e 100644 --- a/mbbsd/vice.c +++ b/mbbsd/vice.c @@ -1,4 +1,4 @@ -/* $Id: vice.c,v 1.7 2003/01/19 16:06:06 kcwu Exp $ */ +/* $Id: vice.c,v 1.8 2003/03/22 13:45:56 in2 Exp $ */ #include "bbs.h" #define VICE_PLAY BBSHOME "/etc/vice/vice.play" @@ -112,6 +112,8 @@ vice_main() *ptr = 0; if (j == 0) i++; + if( i >= 14 ) + break; move(10 + i, 24 + j); prints("%s", serial); j += 9; -- cgit v1.2.3