From: ewt Date: Fri, 3 May 1996 20:34:37 +0000 (+0000) Subject: clears form space before drawing it X-Git-Tag: 0-1~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a1331450955a1ef924118874f86bce935323b818;p=thirdparty%2Fnewt.git clears form space before drawing it --- diff --git a/form.c b/form.c index 54aa615..5f70988 100644 --- a/form.c +++ b/form.c @@ -160,6 +160,8 @@ static void formDraw(newtComponent co) { struct element * el; int i; + SLsmg_set_color(COLORSET_WINDOW); + newtClearBox(co->left, co->top, co->width, co->height); for (i = 0, el = form->elements; i < form->numComps; i++, el++) { /* the scrollbar *always* fits */ if (el->co == form->vertBar)