return 0; after PostQuitMessage()

This commit is contained in:
Sergey Lyubka 2013-01-10 16:26:01 +00:00
parent 70771f29ce
commit fcbc36ecde

2
main.c
View File

@ -416,7 +416,7 @@ static LRESULT CALLBACK WindowProc(HWND hWnd, UINT msg, WPARAM wParam,
mg_stop(ctx);
Shell_NotifyIcon(NIM_DELETE, &TrayIcon);
PostQuitMessage(0);
break;
return 0;
case ID_EDIT_CONFIG:
edit_config_file();
break;