[gnome-builder/wip/project-selector: 31/67] 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: 31/67] pattern-spec: use - as alternate word break
- Date: Mon, 6 Apr 2015 21:31:46 +0000 (UTC)
commit 89fe917a5cd6e3663c054499b1b3af7903f0eabf
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]