Don't use ecore_strlcpy in start as we don't link to ecore here.
SVN revision: 37242
This commit is contained in:
parent
45f4519087
commit
0c0c24fa7e
|
@ -84,7 +84,8 @@ prefix_determine(char *argv0)
|
||||||
_prefix_path = malloc(p - _exe_path + 1);
|
_prefix_path = malloc(p - _exe_path + 1);
|
||||||
if (_prefix_path)
|
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;
|
return 1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue