From 59a45d3a5f03158e2b9b143886cdaff6da527d0c Mon Sep 17 00:00:00 2001 From: Jonas Fonseca Date: Sun, 28 May 2006 03:55:31 +0200 Subject: [PATCH] Make the stop all loading request stop all loading --- tig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tig.c b/tig.c index 308106b..c6569d4 100644 --- a/tig.c +++ b/tig.c @@ -1472,7 +1472,8 @@ view_driver(struct view *view, enum request request) 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); -- 2.32.0.93.g670b81a890