fix skin directory default

This commit is contained in:
kub 2022-02-22 20:49:37 +00:00
parent 4919040522
commit 7a43154813

View file

@ -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;