From d1fb3eb657dace1e5f1cc33b09a9b5e727bf374d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 May 2015 14:17:47 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index b8c07453d..769a96007 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -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()); -- 2.39.2