]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
Hmm, maybe this will work...?
authorsopwith <sopwith>
Fri, 15 Aug 1997 02:27:11 +0000 (02:27 +0000)
committersopwith <sopwith>
Fri, 15 Aug 1997 02:27:11 +0000 (02:27 +0000)
form.c
test.c

diff --git a/form.c b/form.c
index bf7c4a330d8906fc6ce6b94d912f59218672d007..06b1ca2da21cca61328ce6fb195b62fad2f57789 100644 (file)
--- 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 8cb7f29b46326b987cbc23568ffcf1729307def3..7b246dd0284575daf02937e185d56ae0004ed17c 100644 (file)
--- 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);