From: ewt Date: Sat, 13 Jul 1996 20:09:13 +0000 (+0000) Subject: made go to the next component X-Git-Tag: v0-9~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c4584b0308dc2bbafdd56b1b4f5a418e750c812c;p=thirdparty%2Fnewt.git made go to the next component --- diff --git a/entry.c b/entry.c index aebea4c..f10a987 100644 --- a/entry.c +++ b/entry.c @@ -193,6 +193,8 @@ static struct eventResult entryHandleKey(struct newtComponent * co, int key) { case '\r': /* Return */ if (en->flags & NEWT_ENTRY_RETURNEXIT) { er.result = ER_EXITFORM; + } else { + er.result = ER_NEXTCOMP; } break;