mirror of
https://github.com/gwm17/glfw.git
synced 2025-01-31 03:18:50 -05:00
Fixed broken calls to memset.
This commit is contained in:
parent
8ae063bb1b
commit
ad9f880d61
|
@ -749,7 +749,7 @@ static void processEvent(XEvent *event)
|
|||
|
||||
// Xdnd: reply with an XDND status message
|
||||
XEvent reply;
|
||||
memset(&reply, sizeof(reply), 0);
|
||||
memset(&reply, 0, sizeof(reply));
|
||||
|
||||
reply.type = ClientMessage;
|
||||
reply.xclient.window = event->xclient.data.l[0];
|
||||
|
@ -812,7 +812,8 @@ static void processEvent(XEvent *event)
|
|||
}
|
||||
|
||||
XEvent reply;
|
||||
memset(&reply, sizeof(reply), 0);
|
||||
memset(&reply, 0, sizeof(reply));
|
||||
|
||||
reply.type = ClientMessage;
|
||||
reply.xclient.window = _glfw.x11.xdnd.sourceWindow;
|
||||
reply.xclient.message_type = _glfw.x11.XdndFinished;
|
||||
|
|
Loading…
Reference in New Issue
Block a user