Selaa lähdekoodia

return 0; after PostQuitMessage()

Sergey Lyubka 12 vuotta sitten
vanhempi
commit
fcbc36ecde
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      main.c

+ 1 - 1
main.c

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