Don't use ecore_strlcpy in start as we don't link to ecore here.

SVN revision: 37242
This commit is contained in:
Sebastian Dransfeld 2008-10-27 13:32:30 +00:00
parent 45f4519087
commit 0c0c24fa7e
1 changed files with 2 additions and 1 deletions

View File

@ -84,7 +84,8 @@ prefix_determine(char *argv0)
_prefix_path = malloc(p - _exe_path + 1);
if (_prefix_path)
{
ecore_strlcpy(_prefix_path, _exe_path, p - _exe_path + 1);
strncpy(_prefix_path, _exe_path, p - _exe_path);
_prefix_path[p - _exe_path] = 0;
return 1;
}
else