fix prefix problem if using env vars

SVN revision: 24154
This commit is contained in:
Carsten Haitzler 2006-07-24 07:20:43 +00:00
parent 1942ba83a6
commit 2c1fc18240
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ e_prefix_determine(char *argv0)
snprintf(buf, sizeof(buf), "%s/"LOCALE_D, getenv("E_LOCALE_DIR"));
else
snprintf(buf, sizeof(buf), "%s/"LOCALE_D, _prefix_path);
_prefix_path_data = strdup(buf);
_prefix_path_locale = strdup(buf);
return 1;
}
/* no env var - examine process and possible argv0 */