summaryrefslogtreecommitdiff
path: root/src/modules/ecore/system
diff options
context:
space:
mode:
authorJosé Roberto de Souza <jose.souza@intel.com>2013-08-19 15:26:01 -0300
committerJosé Roberto de Souza <jose.souza@intel.com>2013-08-23 16:05:12 -0300
commit09bae8b373e1ad4404592a8d8a269d5b7a40136c (patch)
treea06237b4aa76d06c383618075851e2754eccae67 /src/modules/ecore/system
parentfe6a51f7e9185173e387848781b989dc6dd1d970 (diff)
ecore system: If by some reason name of locale changed dont have a '=' skip it
Diffstat (limited to 'src/modules/ecore/system')
-rw-r--r--src/modules/ecore/system/systemd/ecore_system_systemd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/ecore/system/systemd/ecore_system_systemd.c b/src/modules/ecore/system/systemd/ecore_system_systemd.c
index e843344702..51aa2f46f8 100644
--- a/src/modules/ecore/system/systemd/ecore_system_systemd.c
+++ b/src/modules/ecore/system/systemd/ecore_system_systemd.c
@@ -155,6 +155,8 @@ static void _locale_get(void *data EINA_UNUSED, const Eldbus_Message *msg,
155 type = buf; 155 type = buf;
156 156
157 value = strchr(buf, '='); 157 value = strchr(buf, '=');
158 if (!value)
159 continue;
158 *value = 0; 160 *value = 0;
159 value++; 161 value++;
160 162