Use WM_QUIT consistently (#80)

* Use `WM_CLOSE` consistently

* Use `WM_QUIT`
This commit is contained in:
Christian Semmler 2025-05-13 18:19:10 -07:00 committed by GitHub
parent 1f64e88d34
commit 5a0b976994
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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