mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 09:17:14 +00:00
winemac: Add missing event to dbgstr_event().
This commit is contained in:
parent
3d9d52dbfc
commit
a4f19d1879
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue