aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/RotProp.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-07-29 00:44:38 +0200
committerUlrich Sibiller <uli42@gmx.de>2016-08-24 23:05:45 +0200
commitacfe0013c9d1ef1344c7813d4dae51ba6f2da622 (patch)
treeba17af85081b346a6b0e753fd9ac1e590a4ca494 /nx-X11/lib/X11/RotProp.c
parent35145c251305a562c4273d712fab5b4b387913ab (diff)
downloadnx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.tar.gz
nx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.tar.bz2
nx-libs-acfe0013c9d1ef1344c7813d4dae51ba6f2da622.zip
update src files *[ch] to libX11 1.3.4
Diffstat (limited to 'nx-X11/lib/X11/RotProp.c')
-rw-r--r--nx-X11/lib/X11/RotProp.c16
1 files changed, 8 insertions, 8 deletions
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.... */