[gnome-builder] foundry: fix exact glob string detection



commit e44e0babd66efa5828183ed531a908770cf69440
Author: Christian Hergert <chergert redhat com>
Date:   Tue Jun 4 18:12:10 2019 -0700

    foundry: fix exact glob string detection

 src/libide/foundry/ide-simple-build-system-discovery.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libide/foundry/ide-simple-build-system-discovery.c 
b/src/libide/foundry/ide-simple-build-system-discovery.c
index 36ed5e74e..b27583c6d 100644
--- a/src/libide/foundry/ide-simple-build-system-discovery.c
+++ b/src/libide/foundry/ide-simple-build-system-discovery.c
@@ -228,7 +228,7 @@ ide_simple_build_system_discovery_set_glob (IdeSimpleBuildSystemDiscovery *self,
       g_free (priv->glob);
       priv->glob = g_strdup (glob);
       priv->is_exact = TRUE;
-      for (; !priv->is_exact && *glob; glob = g_utf8_next_char (glob))
+      for (; priv->is_exact && *glob; glob = g_utf8_next_char (glob))
         {
           gunichar ch = g_utf8_get_char (glob);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]