Commit 55fe5e81 authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

WM_USER messages should be dumped in the format "WM_USER + %d" to make

it easier to see what message it is for unknown classes.
parent e6150fe2
......@@ -1959,7 +1959,10 @@ static void SPY_GetMsgStuff( SPY_INSTANCE *sp_e )
return;
}
}
sprintf( sp_e->msg_name, "%04x", sp_e->msgnum );
if (sp_e->msgnum >= WM_USER && sp_e->msgnum <= WM_APP)
sprintf( sp_e->msg_name, "WM_USER+%d", sp_e->msgnum - WM_USER );
else
sprintf( sp_e->msg_name, "%04x", sp_e->msgnum );
}
else
{
......
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