From 5fab4758aa3d871afd07bf4d5b77c5ffe223c0e8 Mon Sep 17 00:00:00 2001 From: ewt Date: Sat, 1 Aug 1998 15:50:34 +0000 Subject: [PATCH] use NEWT_FLAG_WRAP instead of NEWT_TEXTBOX_WRAP --- textbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.2