[libdazzle] search: treat '.' as break character
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] search: treat '.' as break character
- Date: Fri, 19 Apr 2019 23:35:36 +0000 (UTC)
commit a186c8fe69f78d6e6c7ec6767566e7cc2839800f
Author: Christian Hergert <chergert redhat com>
Date: Fri Apr 19 16:35:16 2019 -0700
search: treat '.' as break character
src/search/dzl-pattern-spec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/search/dzl-pattern-spec.c b/src/search/dzl-pattern-spec.c
index d640a9e..01a786d 100644
--- a/src/search/dzl-pattern-spec.c
+++ b/src/search/dzl-pattern-spec.c
@@ -127,7 +127,7 @@ dzl_pattern_spec_free (DzlPatternSpec *self)
static inline gboolean
is_word_break (gunichar ch)
{
- return (ch == ' ' || ch == '_' || ch == '-');
+ return (ch == ' ' || ch == '_' || ch == '-' || ch == '.');
}
static const gchar *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]