Additional change to 648e14b

This commit is contained in:
Birunthan Mohanathas 2012-12-23 17:42:30 +02:00
parent 55824225ba
commit 132e93c857

View File

@ -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