From d0708a2332a3220e3f6459c59f21bd68d69a55bb Mon Sep 17 00:00:00 2001 From: Ikey Doherty Date: Mon, 23 Oct 2017 19:38:19 +0100 Subject: [PATCH] redirect: Unbreak Ark profile Signed-off-by: Ikey Doherty --- src/redirect/profiles/ark.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/redirect/profiles/ark.c b/src/redirect/profiles/ark.c index 45339dc..30847a7 100644 --- a/src/redirect/profiles/ark.c +++ b/src/redirect/profiles/ark.c @@ -20,8 +20,8 @@ #include "redirect.h" #define ARK_BASE "steamapps/common/ARK/ShooterGame" -#define ARK_CONTENT ARK_BASE "Content" -#define ARK_BINARY ARK_BASE "Binaries/Linux/ShooterGame" +#define ARK_CONTENT ARK_BASE "/Content" +#define ARK_BINARY ARK_BASE "/Binaries/Linux/ShooterGame" /** * This generator function is responsible for supporting ARK: Survival Evolved @@ -38,7 +38,7 @@ LsiRedirectProfile *lsi_redirect_profile_new_ark(char *process_name, char *steam autofree(char) *match_process = NULL; autofree(char) *test_process = NULL; - if (asprintf(&match_process, "%s/%s", steam_path, ARK_BINARY)) { + if (asprintf(&match_process, "%s/%s", steam_path, ARK_BINARY) < 0) { return NULL; }