author | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 7 Oct 2008 18:43:24 +0000 (20:43 +0200) | ||
committer | Jonas Fonseca <fonseca@diku.dk> | |
Tue, 7 Oct 2008 18:46:34 +0000 (20:46 +0200) | ||
commit | 58fc3b1db70f52badd3cd9d88773107e3201469d | |
tree | e3ee0680962ee778253a537f75190905e2cb56b7 | tree | snapshot |
parent | 93afcbad8a315c69ca98ce6c8aed61a2d0ad1da1 | commit | diff |
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().
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 | diff | blob | history |