Ticket #2991: fix redraw of WLabel after text change.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2013-04-05 11:26:48 +04:00
parent 7b7108d493
commit f23f0613ec

View File

@ -182,10 +182,10 @@ label_set_text (WLabel * label, const char *text)
} }
} }
widget_redraw (w);
if (newcols < w->cols) if (newcols < w->cols)
w->cols = newcols; w->cols = newcols;
widget_redraw (w);
} }
/* --------------------------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------------------------- */