Permalink
Browse files

Additional change to 648e14b

  • Loading branch information...
1 parent 5582422 commit 132e93c85791c53976784ab1ef3cf070103f0779 @poiru poiru committed Dec 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 132e93c

Please sign in to comment.