summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5dc795f)
raw | patch | inline | side by side (parent: 5dc795f)
author | Jonas Fonseca <fonseca@diku.dk> | |
Thu, 1 Jun 2006 02:48:32 +0000 (04:48 +0200) | ||
committer | Jonas Fonseca <fonseca@antimatter.localdomain> | |
Thu, 1 Jun 2006 02:48:32 +0000 (04:48 +0200) |
tig.c | patch | blob | history |
index 4a4ce9a5517c1761d3a52fea9f064051d7f5ae47..9845c4094e975bef9d3d76db81a3f81703f6a2ab 100644 (file)
--- a/tig.c
+++ b/tig.c
return;
}
- if ((reload || strcmp(view->vid, view->id)) &&
- !begin_update(view)) {
+ if (view == VIEW(REQ_VIEW_HELP)) {
+ load_help_page();
+
+ } else if ((reload || strcmp(view->vid, view->id)) &&
+ !begin_update(view)) {
report("Failed to load %s view", view->name);
return;
}
view->parent = prev;
}
- if (view == VIEW(REQ_VIEW_HELP))
- load_help_page();
-
if (view->pipe && view->lines == 0) {
/* Clear the old view and let the incremental updating refill
* the screen. */