[tracker: 2/3] changed indentation and some other minor changes
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker: 2/3] changed indentation and some other minor changes
- Date: Sun, 14 Feb 2021 15:07:42 +0000 (UTC)
commit fa69ab03a5b2638c7dc0ed05a0731ab5d0560150
Author: nis130 <nishitlimbani130 gmail com>
Date: Sun Jan 24 11:45:53 2021 +0530
changed indentation and some other minor changes
src/libtracker-fts/tracker-fts-tokenizer.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/libtracker-fts/tracker-fts-tokenizer.c b/src/libtracker-fts/tracker-fts-tokenizer.c
index 5da19ee01..d2688ac3b 100644
--- a/src/libtracker-fts/tracker-fts-tokenizer.c
+++ b/src/libtracker-fts/tracker-fts-tokenizer.c
@@ -245,13 +245,13 @@ tracker_offsets_function (const Fts5ExtensionApi *api,
first = FALSE;
- if (str->len != 0)
- g_string_append_c (str, ',');
+ if (offsets->len != 0) {
+ if (str->len != 0)
+ g_string_append_c (str, ',');
- if(offsets->len != 0) {
- g_string_append_printf (str, "%s,%d",
- data->property_names[col],
- g_array_index (offsets, gint, n_token));
+ g_string_append_printf (str, "%s,%d",
+ data->property_names[col],
+ g_array_index (offsets, gint, n_token));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]