diff --git a/ISLE/isleapp.cpp b/ISLE/isleapp.cpp index 1ceaa540..8350cab6 100644 --- a/ISLE/isleapp.cpp +++ b/ISLE/isleapp.cpp @@ -400,7 +400,7 @@ SDL_AppResult SDL_AppEvent(void* appstate, SDL_Event* event) case WM_ISLE_SETCURSOR: g_isle->SetupCursor((Cursor) (uintptr_t) event->user.data1); break; - case WM_CLOSE: + case WM_QUIT: return SDL_APP_SUCCESS; break; case WM_TIMER: diff --git a/LEGO1/lego/legoomni/include/legomain.h b/LEGO1/lego/legoomni/include/legomain.h index fc543cf6..6ba6266e 100644 --- a/LEGO1/lego/legoomni/include/legomain.h +++ b/LEGO1/lego/legoomni/include/legomain.h @@ -194,7 +194,7 @@ class LegoOmni : public MxOmni { { SDL_Event event; event.user.type = g_legoSdlEvents.m_windowsMessage; - event.user.code = WM_CLOSE; + event.user.code = WM_QUIT; event.user.data1 = NULL; event.user.data2 = NULL; SDL_PushEvent(&event);