From: Florian Forster Date: Wed, 7 Jul 2010 14:16:29 +0000 (+0200) Subject: src/graph_list.c: Sort the instances of all graphs. X-Git-Tag: v4.0.0~127 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6d57ef4b674a7fc0ee926857d8e94146c6bf05f6;p=collection4.git src/graph_list.c: Sort the instances of all graphs. --- diff --git a/src/graph_list.c b/src/graph_list.c index f5cb2e9..e0f2b97 100644 --- a/src/graph_list.c +++ b/src/graph_list.c @@ -467,6 +467,7 @@ int gl_update (void) /* {{{ */ { time_t now; int status; + size_t i; /* printf ("Content-Type: text/plain\n\n"); @@ -492,6 +493,9 @@ int gl_update (void) /* {{{ */ gl_last_update = now; + for (i = 0; i < gl_active_num; i++) + graph_sort_instances (gl_active[i]); + return (status); } /* }}} int gl_update */