From 3d0fa7c79b4d5d08868f32f44052392d03638074 Mon Sep 17 00:00:00 2001 From: scw Date: Sun, 16 May 2004 09:43:06 +0000 Subject: Fix error for compiling without defining PLAY_ANGEL. git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1994 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/io.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'mbbsd/io.c') diff --git a/mbbsd/io.c b/mbbsd/io.c index 22de008f..bfba9c2d 100644 --- a/mbbsd/io.c +++ b/mbbsd/io.c @@ -322,8 +322,7 @@ igetch() } } return ch; - //case '\n': /* Ptt§â \n®³±¼ */ - // continue; + case Ctrl('T'): if (WATERMODE(WATER_ORIG) || WATERMODE(WATER_NEW)) { if (watermode > 0) { @@ -371,8 +370,10 @@ igetch() } return ch; - case Ctrl('J'): + case Ctrl('J'): /* Ptt §â \n ®³±¼ */ +#ifdef PLAY_ANGEL CallAngel(); +#endif continue; case IAC: -- cgit v1.2.3