Code

Avoid triggering assertion failure when reloading the status view
authorJonas Fonseca <fonseca@diku.dk>
Tue, 7 Oct 2008 18:43:24 +0000 (20:43 +0200)
committerJonas Fonseca <fonseca@diku.dk>
Tue, 7 Oct 2008 18:46:34 +0000 (20:46 +0200)
commit58fc3b1db70f52badd3cd9d88773107e3201469d
treee3ee0680962ee778253a537f75190905e2cb56b7
parent93afcbad8a315c69ca98ce6c8aed61a2d0ad1da1
Avoid triggering assertion failure when reloading the status view

After staging a diff chunk, the stage view automatically reloads the
status view. If the staging happened while the status view is not
displayed an assertion failure is triggered by draw_view_line(). Fix it
by only conditionally redrawing the view in open_view().
tig.c