"list graph" action: Search case-independent.
[collection4.git] / src / graph_instance.c
index 45dcefb..73aeb1b 100644 (file)
@@ -435,6 +435,8 @@ int inst_search (graph_config_t *cfg, graph_instance_t *inst, /* {{{ */
       return (status);
     }
 
+    strtolower (buffer);
+
     /* no match */
     if (strstr (buffer, term) == NULL)
       continue;