chiark
/
gitweb
/
~mdw
/
tig
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a7bb91
)
Make the stop all loading request stop all loading
author
Jonas Fonseca
<fonseca@diku.dk>
Sun, 28 May 2006 01:55:31 +0000
(
03:55
+0200)
committer
Jonas Fonseca
<fonseca@antimatter.localdomain>
Sun, 28 May 2006 01:55:31 +0000
(
03:55
+0200)
tig.c
patch
|
blob
|
blame
|
history
diff --git
a/tig.c
b/tig.c
index 308106b6dbdd6b64998eb702d102b350488f90dc..c6569d4d020e66f5ceb0f996e4f98cbb17793aa0 100644
(file)
--- a/
tig.c
+++ b/
tig.c
@@
-1472,7
+1472,8
@@
view_driver(struct view *view, enum request request)
break;
case REQ_STOP_LOADING:
break;
case REQ_STOP_LOADING:
- foreach_view (view, i) {
+ for (i = 0; i < ARRAY_SIZE(views); i++) {
+ view = &views[i];
if (view->pipe)
report("Stopped loading the %s view", view->name),
end_update(view);
if (view->pipe)
report("Stopped loading the %s view", view->name),
end_update(view);