[tracker/rss-enclosures] FTS parsers: minor indentation fixes
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] FTS parsers: minor indentation fixes
- Date: Sat, 26 Jun 2010 23:11:53 +0000 (UTC)
commit df25961e0ef4e9a86fc183171145d63ae6b557a0
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]