diff options
Diffstat (limited to 'src/libtracker-common')
-rw-r--r-- | src/libtracker-common/tracker-locale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libtracker-common/tracker-locale.c b/src/libtracker-common/tracker-locale.c index 7e3d06eb2..bac82ceb0 100644 --- a/src/libtracker-common/tracker-locale.c +++ b/src/libtracker-common/tracker-locale.c @@ -186,7 +186,7 @@ locale_gconf_notify_cb (GConfClient *client, /* String must have a length > 0 */ if (!string_value || - strlen (string_value) == 0) { + string_value[0] == '\0') { g_warning ("Locale value for '%s' must not be empty, not changing %s", gconf_locales[i], locale_names[i]); |