[tracker] FTS libicu parser: use TrackerParserWordType instead of gboolean
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] FTS libicu parser: use TrackerParserWordType instead of gboolean
- Date: Fri, 28 May 2010 07:07:02 +0000 (UTC)
commit 9283033927aa71df10e1f7a9a540cb5647911917
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri May 28 09:06:12 2010 +0200
FTS libicu parser: use TrackerParserWordType instead of gboolean
src/libtracker-fts/tracker-parser-libicu.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-parser-libicu.c b/src/libtracker-fts/tracker-parser-libicu.c
index 42f523d..a13b905 100644
--- a/src/libtracker-fts/tracker-parser-libicu.c
+++ b/src/libtracker-fts/tracker-parser-libicu.c
@@ -610,7 +610,9 @@ tracker_parser_process_word (TrackerParser *parser,
processed = process_word_uchar (parser,
uchar_word,
uchar_len,
- do_strip);
+ (do_strip ?
+ TRACKER_PARSER_WORD_TYPE_OTHER_UNAC :
+ TRACKER_PARSER_WORD_TYPE_OTHER_NO_UNAC));
g_free (uchar_word);
return processed;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]