Use symbolic constants in the modules for WM events

This commit is contained in:
matt335672
2023-11-27 15:42:24 +00:00
parent e520ce3a5d
commit c52a173db0
5 changed files with 29 additions and 27 deletions
+1 -1
View File
@@ -486,7 +486,7 @@ lib_mod_event(struct vnc *v, int msg, long param1, long param2,
error = 0;
make_stream(s);
if (msg == 0x5555) /* channel data */
if (msg == WM_CHANNEL_DATA)
{
chanid = LOWORD(param1);
flags = HIWORD(param1);