aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/lib/X11/RotProp.c
diff options
context:
space:
mode:
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.... */