[gnome-builder/wip/project-selector] pattern-spec: use - as alternate word break
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/project-selector] pattern-spec: use - as alternate word break
- Date: Thu, 2 Apr 2015 21:23:39 +0000 (UTC)
commit 7178c4efd1f89ce5e52a42f4fa4ea4207a905da3
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]