[gnome-builder/wip/tree-menu: 20/44] pattern-spec: use - as alternate word break



commit 526203165f379343267f9dfbfd93c40e6cc6bef7
Author: Christian Hergert <christian hergert me>
Date:   Thu Apr 2 14:23:16 2015 -0700

    pattern-spec: use - as alternate word break

 libide/ide-pattern-spec.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-pattern-spec.c b/libide/ide-pattern-spec.c
index b925a90..0a2ea97 100644
--- a/libide/ide-pattern-spec.c
+++ b/libide/ide-pattern-spec.c
@@ -83,7 +83,7 @@ ide_pattern_spec_free (IdePatternSpec *self)
 static inline gboolean
 is_word_break (gunichar ch)
 {
-  return (ch == ' ' || ch == '_');
+  return (ch == ' ' || ch == '_' || ch == '-');
 }
 
 static const gchar *


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