From 69eece729c99c47eb02362e00440ce1c114b143d Mon Sep 17 00:00:00 2001 From: Emma Miler Date: Thu, 1 Dec 2022 20:32:32 +0100 Subject: Update exit value in hooks to valid code (#354) --- NorthstarDLL/hooks.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NorthstarDLL/hooks.cpp b/NorthstarDLL/hooks.cpp index cca1d986..cc1c284d 100644 --- a/NorthstarDLL/hooks.cpp +++ b/NorthstarDLL/hooks.cpp @@ -364,7 +364,7 @@ HMODULE, WINAPI, (LPCSTR lpLibFileName, HANDLE hFile, DWORD dwFlags)) if (!moduleAddress) { MessageBoxA(0, "Could not find XInput9_1_0.dll", "Northstar", MB_ICONERROR); - exit(-1); + exit(EXIT_FAILURE); return nullptr; } -- cgit v1.2.3