From: Jonas Fonseca Date: Sat, 17 Jan 2009 22:10:21 +0000 (+0100) Subject: Fix another regression from the dirty flag changes causing flickering X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9cb30bba43afa408be71233978a98bd03b468877;p=tig.git Fix another regression from the dirty flag changes causing flickering Use redraw_view_from() instead of redraw_view() to avoid excessive calls to wclear(). --- diff --git a/tig.c b/tig.c index 08f080a..101d0b7 100644 --- a/tig.c +++ b/tig.c @@ -2753,7 +2753,7 @@ update_view(struct view *view) return TRUE; if (redraw) - redraw_view(view); + redraw_view_from(view, 0); else redraw_view_dirty(view);