]> git.ipfire.org Git - thirdparty/newt.git/commitdiff
use NEWT_FLAG_WRAP instead of NEWT_TEXTBOX_WRAP
authorewt <ewt>
Sat, 1 Aug 1998 15:50:34 +0000 (15:50 +0000)
committerewt <ewt>
Sat, 1 Aug 1998 15:50:34 +0000 (15:50 +0000)
textbox.c

index 5d0fced33a4f64e3c8d52b80d73a888bbb285b2b..1f0159d9519dd6084e40f07a069574ba5e0acd4d 100644 (file)
--- a/textbox.c
+++ b/textbox.c
@@ -72,7 +72,7 @@ newtComponent newtTextboxReflowed(int left, int top, char * text, int width,
     reflowedText = newtReflowText(text, width, flexDown, flexUp,
                                  &actWidth, &actHeight);
     
-    co = newtTextbox(-1, -1, actWidth, actHeight, NEWT_TEXTBOX_WRAP);
+    co = newtTextbox(left, top, actWidth, actHeight, NEWT_FLAG_WRAP);
     newtTextboxSetText(co, reflowedText);
     free(reflowedText);