src/graph_list.c: Use the new "graph_ident_intersect" function.
authorFlorian Forster <ff@octo.it>
Mon, 12 Jul 2010 17:00:16 +0000 (19:00 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Mon, 12 Jul 2010 17:00:16 +0000 (19:00 +0200)
The (slightly advanced) search appears to work now.

src/graph_list.c

index a33697f..8ebf622 100644 (file)
@@ -402,7 +402,7 @@ int gl_search (search_info_t *si, /* {{{ */
   {
     int status;
 
-    if (!graph_matches_ident (gl_active[i], ident))
+    if (!graph_ident_intersect (gl_active[i], ident))
       continue;
 
     status = graph_search_inst (gl_active[i], si,
@@ -416,7 +416,7 @@ int gl_search (search_info_t *si, /* {{{ */
   {
     int status;
 
-    if (!graph_matches_ident (gl_dynamic[i], ident))
+    if (!graph_ident_intersect (gl_dynamic[i], ident))
       continue;
 
     status = graph_search_inst (gl_dynamic[i], si,