[gnome-builder/wip/tree-menu: 20/44] pattern-spec: use - as alternate word break
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/tree-menu: 20/44] pattern-spec: use - as alternate word break
- Date: Fri, 3 Apr 2015 21:09:32 +0000 (UTC)
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]