From 132e93c85791c53976784ab1ef3cf070103f0779 Mon Sep 17 00:00:00 2001 From: Birunthan Mohanathas Date: Sun, 23 Dec 2012 17:42:30 +0200 Subject: [PATCH] Additional change to 648e14b --- Application/Application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Application.cpp b/Application/Application.cpp index 7cc4020b..6ba9dacd 100644 --- a/Application/Application.cpp +++ b/Application/Application.cpp @@ -144,7 +144,7 @@ int APIENTRY wWinMain(HINSTANCE, HINSTANCE, LPWSTR, int) EXTERN_C int WINAPI Main() { int result = wWinMain(NULL, NULL, NULL, 0); - TerminateProcess(GetCurrentProcess(), result); + ExitProcess(result); return 0; // Never reached. } #endif