Code

Remove unneeded doupdate from view_driver
authorJonas Fonseca <fonseca@diku.dk>
Sun, 15 Feb 2009 22:21:23 +0000 (23:21 +0100)
committerJonas Fonseca <fonseca@diku.dk>
Sun, 15 Feb 2009 22:21:23 +0000 (23:21 +0100)
tig.c

diff --git a/tig.c b/tig.c
index 458ebcbf5d3f87373ba25ef223c50025af2be04b..180661a4fcfbc94067a795898df1a6fc6a6e0330 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -3101,10 +3101,8 @@ view_driver(struct view *view, enum request request)
 {
        int i;
 
-       if (request == REQ_NONE) {
-               doupdate();
+       if (request == REQ_NONE)
                return TRUE;
-       }
 
        if (request > REQ_NONE) {
                open_run_request(request);