From: kub Date: Tue, 22 Feb 2022 20:49:37 +0000 (+0000) Subject: fix skin directory default X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7a43154813aaa4cdb8ef03dcf29545921fbd1c8a;p=libpicofe.git fix skin directory default --- diff --git a/linux/plat.c b/linux/plat.c index 9109a32..707d5f7 100644 --- a/linux/plat.c +++ b/linux/plat.c @@ -75,7 +75,7 @@ int plat_get_skin_dir(char *dst, int len) { int ret = plat_get_exe_dir(dst, len); if (ret < 0) - return ret; + ret = 0; memcpy(dst + ret, "skin/", sizeof "skin/"); return ret + sizeof("skin/") - 1;