mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-06 23:28:04 -04:00
fix skin directory default
This commit is contained in:
parent
4919040522
commit
7a43154813
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ int plat_get_skin_dir(char *dst, int len)
|
||||||
{
|
{
|
||||||
int ret = plat_get_exe_dir(dst, len);
|
int ret = plat_get_exe_dir(dst, len);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return ret;
|
ret = 0;
|
||||||
|
|
||||||
memcpy(dst + ret, "skin/", sizeof "skin/");
|
memcpy(dst + ret, "skin/", sizeof "skin/");
|
||||||
return ret + sizeof("skin/") - 1;
|
return ret + sizeof("skin/") - 1;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue