[tracker] FTS parsers: minor indentation fixes
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] FTS parsers: minor indentation fixes
- Date: Fri, 28 May 2010 07:17:24 +0000 (UTC)
commit 36c756561ca2cf4e731e31fddd335bcf4ea36a02
Author: Aleksander Morgado <aleksander lanedo com>
Date: Fri May 28 09:17:08 2010 +0200
FTS parsers: minor indentation fixes
src/libtracker-fts/tracker-parser-libicu.c | 4 ++--
src/libtracker-fts/tracker-parser-libunistring.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-parser-libicu.c b/src/libtracker-fts/tracker-parser-libicu.c
index a13b905..0fdde7b 100644
--- a/src/libtracker-fts/tracker-parser-libicu.c
+++ b/src/libtracker-fts/tracker-parser-libicu.c
@@ -611,8 +611,8 @@ tracker_parser_process_word (TrackerParser *parser,
uchar_word,
uchar_len,
(do_strip ?
- TRACKER_PARSER_WORD_TYPE_OTHER_UNAC :
- TRACKER_PARSER_WORD_TYPE_OTHER_NO_UNAC));
+ TRACKER_PARSER_WORD_TYPE_OTHER_UNAC :
+ TRACKER_PARSER_WORD_TYPE_OTHER_NO_UNAC));
g_free (uchar_word);
return processed;
}
diff --git a/src/libtracker-fts/tracker-parser-libunistring.c b/src/libtracker-fts/tracker-parser-libunistring.c
index db021f5..7b21947 100644
--- a/src/libtracker-fts/tracker-parser-libunistring.c
+++ b/src/libtracker-fts/tracker-parser-libunistring.c
@@ -321,6 +321,7 @@ tracker_parser_process_word (TrackerParser *parser,
gint length,
gboolean do_strip)
{
+
return process_word_utf8 (parser,
word,
length,
@@ -383,8 +384,7 @@ process_word_utf8 (TrackerParser *parser,
/* Log after Normalization */
tracker_parser_message_hex (" After Casefolding and NFC normalization",
normalized, new_word_length);
- }
- else {
+ } else {
/* For ASCII-only, just tolower() each character */
gsize i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]