Assign 0 not NULL as window handle when sending application message

This commit is contained in:
Ole Loots 2013-12-21 12:56:01 +01:00
parent d788a1efc6
commit 064c471239
1 changed files with 1 additions and 1 deletions

View File

@ -1219,7 +1219,7 @@ void gemtk_wm_send_msg(GUIWIN *win, short msg_type, short a, short b, short c,
msg[0] = msg_type;
msg[1] = gl_apid;
msg[2] = 0;
msg[3] = (win != NULL) ? win->handle : NULL;
msg[3] = (win != NULL) ? win->handle : 0;
msg[4] = a;
msg[5] = b;
msg[6] = c;