From 7a43154813aaa4cdb8ef03dcf29545921fbd1c8a Mon Sep 17 00:00:00 2001 From: kub Date: Tue, 22 Feb 2022 20:49:37 +0000 Subject: [PATCH] fix skin directory default --- linux/plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.5