From: Jonas Fonseca Date: Mon, 19 Jan 2009 21:46:24 +0000 (+0100) Subject: Fix regression of main view drawing X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=beaef001087cc2238e9e8d5a80250f1151a4c993;p=tig.git Fix regression of main view drawing Hopefully last fix for dirty flag regressions. --- diff --git a/tig.c b/tig.c index 6d3191e..f34334c 100644 --- a/tig.c +++ b/tig.c @@ -5384,6 +5384,7 @@ main_read(struct view *view, char *line) die("No revisions match the given arguments."); if (view->lines > 0) { commit = view->line[view->lines - 1].data; + view->line[view->lines - 1].dirty = 1; if (!*commit->author) { view->lines--; free(commit);