Module: wine Branch: master Commit: a4f19d18793761dc1c90f34dc6544dfb6d8cfe01 URL: https://gitlab.winehq.org/wine/wine/-/commit/a4f19d18793761dc1c90f34dc6544df...
Author: Brendan Shanks bshanks@codeweavers.com Date: Thu May 18 12:18:13 2023 -0700
winemac: Add missing event to dbgstr_event().
---
dlls/winemac.drv/event.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/winemac.drv/event.c b/dlls/winemac.drv/event.c index 11f5dd3314c..9241a7a3326 100644 --- a/dlls/winemac.drv/event.c +++ b/dlls/winemac.drv/event.c @@ -80,6 +80,7 @@ static const char *dbgstr_event(int type) "STATUS_ITEM_MOUSE_MOVE", "WINDOW_BROUGHT_FORWARD", "WINDOW_CLOSE_REQUESTED", + "WINDOW_DID_MINIMIZE", "WINDOW_DID_UNMINIMIZE", "WINDOW_DRAG_BEGIN", "WINDOW_DRAG_END", @@ -91,6 +92,7 @@ static const char *dbgstr_event(int type) "WINDOW_RESIZE_ENDED", "WINDOW_RESTORE_REQUESTED", }; + C_ASSERT(ARRAYSIZE(event_names) == NUM_EVENT_TYPES);
if (0 <= type && type < NUM_EVENT_TYPES) return event_names[type]; return wine_dbg_sprintf("Unknown event %d", type);