[tracker/parser-unicode-libs-review] libicu parser: coding style fix
- From: Aleksander Morgado <aleksm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/parser-unicode-libs-review] libicu parser: coding style fix
- Date: Wed, 19 May 2010 16:10:23 +0000 (UTC)
commit 76e0a44a941cc8d866d07d237c3177dbbc1102b4
Author: Aleksander Morgado <aleksander lanedo com>
Date: Wed May 19 18:09:56 2010 +0200
libicu parser: coding style fix
src/libtracker-fts/tracker-parser-libicu.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-parser-libicu.c b/src/libtracker-fts/tracker-parser-libicu.c
index 060c352..17ab924 100644
--- a/src/libtracker-fts/tracker-parser-libicu.c
+++ b/src/libtracker-fts/tracker-parser-libicu.c
@@ -132,8 +132,7 @@ get_word_info (const UChar *word,
}
/* Is ASCII-only string? */
- while (unichar != U_SENTINEL)
- {
+ while (unichar != U_SENTINEL) {
if (!IS_ASCII_UCS4 ((guint32)unichar)) {
*p_word_type = TRACKER_PARSER_WORD_TYPE_OTHER_UNAC;
return TRUE;
@@ -178,8 +177,7 @@ parser_next (TrackerParser *parser,
/* Last word support... */
next_word_offset_uchar = parser->utxt_size;
next_word_offset_utf8 = parser->txt_size;
- }
- else {
+ } else {
next_word_offset_utf8 = parser->offsets[next_word_offset_uchar];
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]