From 687d44b6eaa3c64a12af9bbd557b401419b208eb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 29 Jul 2016 00:44:38 +0200 Subject: update src files *[ch] to libX11 1.3.4 --- nx-X11/lib/X11/RotProp.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'nx-X11/lib/X11/RotProp.c') diff --git a/nx-X11/lib/X11/RotProp.c b/nx-X11/lib/X11/RotProp.c index eb7257a58..98d7dbd81 100644 --- a/nx-X11/lib/X11/RotProp.c +++ b/nx-X11/lib/X11/RotProp.c @@ -30,13 +30,13 @@ in this Software without prior written authorization from The Open Group. #include "Xlibint.h" int -XRotateWindowProperties(dpy, w, properties, nprops, npositions) - register Display *dpy; - Window w; - Atom *properties; - register int nprops; - int npositions; - { +XRotateWindowProperties( + register Display *dpy, + Window w, + Atom *properties, + register int nprops, + int npositions) +{ register long nbytes; register xRotatePropertiesReq *req; @@ -45,7 +45,7 @@ XRotateWindowProperties(dpy, w, properties, nprops, npositions) req->window = w; req->nAtoms = nprops; req->nPositions = npositions; - + req->length += nprops; nbytes = nprops << 2; /* XXX Cray needs packing here.... */ -- cgit v1.2.3