fix SF [ 2216986 ] - Win32 - File > Quit does nothing

This commit is contained in:
zeromus 2008-11-02 20:24:35 +00:00
parent a25b610c6e
commit 2f1cfdc865
1 changed files with 1958 additions and 1958 deletions

View File

@ -1565,7 +1565,7 @@ LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM
switch(LOWORD(wParam))
{
case IDM_QUIT:
PostMessage(hwnd, WM_QUIT, 0, 0);
DestroyWindow(hwnd);
return 0;
case IDM_OPEN:
{