From 0d84f4d7a8a99828bf3b7ea5d7fe79d8b1a1920f Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 21 Dec 2018 10:14:39 +1100 Subject: [PATCH] Fix linux build --- src/Platform.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Platform.c b/src/Platform.c index 049f19296..cd6bd9a18 100644 --- a/src/Platform.c +++ b/src/Platform.c @@ -1560,7 +1560,7 @@ ReturnCode Http_Do(struct AsyncRequest* req, volatile int* progress) { curl_easy_setopt(curl, CURLOPT_HTTPHEADER, list); curl_easy_setopt(curl, CURLOPT_URL, urlStr); - curl_easy_setopt(curl, CURLOPT_USERAGENT, PROGRAM_APP_NAME); + curl_easy_setopt(curl, CURLOPT_USERAGENT, GAME_APP_NAME); curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1L); curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L); @@ -2151,7 +2151,7 @@ void Platform_Exit(ReturnCode code) { exit(code); } int Platform_GetCommandLineArgs(int argc, STRING_REF const char** argv, String* args) { int i, count; argc--; /* skip executable path argument */ - count = min(argc, PROGRAM_MAX_CMDARGS); + count = min(argc, GAME_MAX_CMDARGS); for (i = 0; i < count; i++) { args[i] = String_FromReadonly(argv[i + 1]);