Code

Revert "When toggling options redraw the view instead of the whole display"
authorJonas Fonseca <fonseca@diku.dk>
Fri, 4 Apr 2008 09:30:47 +0000 (11:30 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Fri, 4 Apr 2008 09:30:47 +0000 (11:30 +0200)
tig.c

diff --git a/tig.c b/tig.c
index a5d6a5e0f8cfa947c34567425f58241bc6410ad5..6bb5ebb11500c34ed6ebdf948cbe6c0b5b034a59 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -2646,27 +2646,27 @@ view_driver(struct view *view, enum request request)
 
        case REQ_TOGGLE_LINENO:
                opt_line_number = !opt_line_number;
-               redraw_view(view);
+               redraw_display();
                break;
 
        case REQ_TOGGLE_DATE:
                opt_date = !opt_date;
-               redraw_view(view);
+               redraw_display();
                break;
 
        case REQ_TOGGLE_AUTHOR:
                opt_author = !opt_author;
-               redraw_view(view);
+               redraw_display();
                break;
 
        case REQ_TOGGLE_REV_GRAPH:
                opt_rev_graph = !opt_rev_graph;
-               redraw_view(view);
+               redraw_display();
                break;
 
        case REQ_TOGGLE_REFS:
                opt_show_refs = !opt_show_refs;
-               redraw_view(view);
+               redraw_display();
                break;
 
        case REQ_PROMPT: