[gnome-builder] pattern-spec: use - as alternate word break
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] pattern-spec: use - as alternate word break
- Date: Mon, 6 Apr 2015 21:36:49 +0000 (UTC)
commit 80c4edfa6fd8ab50cd9d70b279f1a95bd8f55866
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]