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-10-10 22:52:29 +0200
commit687d44b6eaa3c64a12af9bbd557b401419b208eb (patch)
tree55c30ba6b0ae6a2618395fae92922ea4402d52f6 /nx-X11/lib/X11/RotProp.c
parentea24f0b0eb7b82ad879810c8e84292d6bf810bea (diff)
downloadnx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.tar.gz
nx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.tar.bz2
nx-libs-687d44b6eaa3c64a12af9bbd557b401419b208eb.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.... */