Commit a4f19d18 authored by Brendan Shanks's avatar Brendan Shanks Committed by Alexandre Julliard

winemac: Add missing event to dbgstr_event().

parent 3d9d52db
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment