From: ewt Date: Sat, 1 Aug 1998 15:50:34 +0000 (+0000) Subject: use NEWT_FLAG_WRAP instead of NEWT_TEXTBOX_WRAP X-Git-Tag: r0-30~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fab4758aa3d871afd07bf4d5b77c5ffe223c0e8;p=thirdparty%2Fnewt.git use NEWT_FLAG_WRAP instead of NEWT_TEXTBOX_WRAP --- diff --git a/textbox.c b/textbox.c index 5d0fced..1f0159d 100644 --- 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);