From: ewt Date: Sat, 1 Aug 1998 15:45:34 +0000 (+0000) Subject: pay attention to isMapped X-Git-Tag: r0-30~18 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f15c08e520827affa7f499d4995c5ddaaad7625b;p=thirdparty%2Fnewt.git pay attention to isMapped --- diff --git a/label.c b/label.c index f7e1394..f1a9ceb 100644 --- a/label.c +++ b/label.c @@ -64,7 +64,7 @@ void newtLabelSetText(newtComponent co, const char * text) { static void labelDraw(newtComponent co) { struct label * la = co->data; - if (co->top == -1) return; + if (co->isMapped == -1) return; SLsmg_set_color(COLORSET_LABEL);