[tracker] foo
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] foo
- Date: Tue, 13 Nov 2018 15:15:29 +0000 (UTC)
commit 324e6c0b0ee99f6b5db60c7ba8a2fd6515955662
Author: Carlos Garnacho <carlosg gnome org>
Date: Tue Nov 13 16:06:20 2018 +0100
foo
src/libtracker-data/tracker-data-update.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/libtracker-data/tracker-data-update.c b/src/libtracker-data/tracker-data-update.c
index e687505bf..034a51b5b 100644
--- a/src/libtracker-data/tracker-data-update.c
+++ b/src/libtracker-data/tracker-data-update.c
@@ -1655,7 +1655,7 @@ string_to_gvalue (const gchar *value,
/* use G_TYPE_INT64 to be compatible with value stored in DB
(important for value_equal function) */
g_value_init (gvalue, G_TYPE_INT64);
- g_value_set_int64 (gvalue, strcmp (value, "true") == 0);
+ g_value_set_int64 (gvalue, g_strncase (value, "true", 4) == 0);
break;
case TRACKER_PROPERTY_TYPE_DOUBLE:
g_value_init (gvalue, G_TYPE_DOUBLE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]