From 40e4a3f0a3a1d09891958c8be975ba9e0896d0ef Mon Sep 17 00:00:00 2001 From: lizzie Date: Fri, 14 Aug 2026 03:35:58 +0000 Subject: [PATCH] windowed death --- src/common/program_args.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/common/program_args.cpp b/src/common/program_args.cpp index 19e8bab460..ca013e70be 100644 --- a/src/common/program_args.cpp +++ b/src/common/program_args.cpp @@ -6,6 +6,7 @@ #include "common/program_args.h" #include "common/logging.h" #include "common/scm_rev.h" +#include "common/string_util.h" #include "network/room.h" #ifdef _WIN32 @@ -71,7 +72,7 @@ int ParseArguments(ProgramArguments& args, int argc, char *argv[]) { auto argv_w = CommandLineToArgvW(GetCommandLineW(), &argc_w); if (argv_w == nullptr) { LOG_CRITICAL(Frontend, "Failed to get command line arguments"); - return SDL_APP_FAILURE; + return -1; } #endif