src/Project/Gtk.vala
[app.Builder.js] / src / Project / Gtk.vala
index b8c0745..769a960 100644 (file)
@@ -198,7 +198,7 @@ namespace Project {
                                                GLib.debug("SKIP %s not regular  ", fn);
                                                continue;
                                        }
-                                       if (Regex.match_simple("^text\/", next_file.get_content_type()) {
+                                       if (!Regex.match_simple("^text", next_file.get_content_type()) {
                                                continue;
                                        }
                                        GLib.debug("SCAN ADD %s : %s", fn, next_file.get_content_type());