diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-11-01 20:12:44 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2018-11-01 20:12:44 +0100 |
commit | 122db3fde2b934df206567abc0c8b431962ce4b3 (patch) | |
tree | 5435567977fca83801096f971ded62b129c65f73 /nx-X11/programs/Xserver/Xi/gtmotion.c | |
parent | 70b49467c41e51eb11a50e4cbe3652246bf21140 (diff) | |
parent | 266c3d68d5abae1de80e807dbbe3252b34c4a04f (diff) | |
download | nx-libs-122db3fde2b934df206567abc0c8b431962ce4b3.tar.gz nx-libs-122db3fde2b934df206567abc0c8b431962ce4b3.tar.bz2 nx-libs-122db3fde2b934df206567abc0c8b431962ce4b3.zip |
Merge branch 'uli42-pr/Xi-1.2.0' into 3.6.x
Attributes GH PR #734: https://github.com/ArcticaProject/nx-libs/pull/734
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/gtmotion.c')
-rw-r--r-- | nx-X11/programs/Xserver/Xi/gtmotion.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nx-X11/programs/Xserver/Xi/gtmotion.c b/nx-X11/programs/Xserver/Xi/gtmotion.c index 72209d1b4..2be719b4a 100644 --- a/nx-X11/programs/Xserver/Xi/gtmotion.c +++ b/nx-X11/programs/Xserver/Xi/gtmotion.c @@ -1,4 +1,3 @@ - /************************************************************ Copyright 1989, 1998 The Open Group @@ -142,8 +141,7 @@ ProcXGetDeviceMotionEvents(ClientPtr client) size = sizeof(Time) + (axes * sizeof(INT32)); tsize = num_events * size; coords = (INT32 *) malloc(tsize); - if (!coords) - { + if (!coords) { SendErrorToClient(client, IReqCode, X_GetDeviceMotionEvents, 0, BadAlloc); return Success; |