From d1475058750f4c05fa9d25bdb1fdfbc018a673ba Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Thu, 28 Jun 2012 13:27:31 +0000 Subject: [PATCH] damn typos SVN revision: 73006 --- src/bin/e_config.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/bin/e_config.c b/src/bin/e_config.c index 449cc7ac5..13096a56b 100644 --- a/src/bin/e_config.c +++ b/src/bin/e_config.c @@ -74,11 +74,12 @@ _e_config_error_dialog_cb_delete(void *dia) _e_config_error_dialog = NULL; } -static char * +static const char * _e_config_profile_name_get(Eet_File *ef) { /* profile config exists */ - char *data, *s = NULL; + char *data; + const char *s = NULL; int data_len = 0; data = eet_read(ef, "config", &data_len); @@ -99,7 +100,7 @@ _e_config_profile_name_get(Eet_File *ef) } s = NULL; if (ok) - eina_stringshare_add_length(data, data_len); + s = eina_stringshare_add_length(data, data_len); free(data); } return s;