aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-12 14:22:20 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-12 14:22:20 +0900
commit01e53356f8dce887254f1deeabc825a5c597fd7a (patch)
treef3421c67ad25d7340f419f6ea1a841eec437531d
parentreduce efl version req to 1.17.0, make new gadget stuff 1.7.99+ at runtime (diff)
downloadenlightenment-01e53356f8dce887254f1deeabc825a5c597fd7a.tar.gz
e intl - fix string buffer length size
this intl code was broken using sizeof a pointer (sizef char *) vs size of the actual buffer used. @fix
-rw-r--r--src/bin/e_intl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/e_intl.c b/src/bin/e_intl.c
index 2a6e215d7..d8c7ec848 100644
--- a/src/bin/e_intl.c
+++ b/src/bin/e_intl.c
@@ -536,8 +536,7 @@ _e_intl_locale_alias_get(const char *language)
{
Eina_Hash *alias_hash;
char *alias;
- char llbuf[256];
- char *lower_language = llbuf;
+ char lower_language[256];
if ((!language) || (!strncmp(language, "POSIX", strlen("POSIX"))))
return strdup("C");