Fixed crash.

This commit is contained in:
Бранимир Караџић
2025-09-29 19:47:41 -07:00
parent fb893903c0
commit b0e9cbd110

View File

@@ -851,7 +851,7 @@ restart:
if (NULL != ev)
{
handle = ev->m_handle;
WindowState& win = s_window[handle.idx];
WindowState& win = s_window[isValid(handle) ? handle.idx : 0];
switch (ev->m_type)
{