Code

Fix another regression from the dirty flag changes causing flickering
authorJonas Fonseca <fonseca@diku.dk>
Sat, 17 Jan 2009 22:10:21 +0000 (23:10 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Sat, 17 Jan 2009 22:14:44 +0000 (23:14 +0100)
Use redraw_view_from() instead of redraw_view() to avoid excessive calls
to wclear().

tig.c

diff --git a/tig.c b/tig.c
index 08f080a09beb51cc33b0c63c0856ace1527586cf..101d0b794f57dbcc12fae93b5f67c516230b748c 100644 (file)
--- 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);