From: sopwith Date: Fri, 15 Aug 1997 02:27:11 +0000 (+0000) Subject: Hmm, maybe this will work...? X-Git-Tag: r0-12~49 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=31cbf978cf677ec08e398280484bf12f237b7ac8;p=thirdparty%2Fnewt.git Hmm, maybe this will work...? --- diff --git a/form.c b/form.c index bf7c4a3..06b1ca2 100644 --- a/form.c +++ b/form.c @@ -206,8 +206,6 @@ void newtDrawForm(newtComponent co) { struct element * el; int i; - newtDrawCurrentWindow(); - SLsmg_set_color(form->background); newtClearBox(co->left, co->top, co->width, co->height); for (i = 0, el = form->elements; i < form->numComps; i++, el++) { diff --git a/test.c b/test.c index 8cb7f29..7b246dd 100644 --- a/test.c +++ b/test.c @@ -103,6 +103,7 @@ void main(void) { newtTextboxSetText(t, "This is some text does it look okay?\nThis should be alone.\nThis shouldn't be printed"); newtFormAddComponents(f, lb, t, NULL); + newtRefresh(); do { answer = newtRunForm(f);