summaryrefslogtreecommitdiff
path: root/src/Box.c
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2011-08-02 00:38:59 -0400
committerMatt Turner <mattst88@gmail.com>2011-08-02 00:38:59 -0400
commit4b7af3dca51bccb86816d7c0e8995ce009f9999e (patch)
treef8e1037d6e583ffc5f7b571e188fc5fdeadd39bb /src/Box.c
parent004a1d1746c62bb44b440df66f196d27d12d16d6 (diff)
Strip trailing whitespace.
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'src/Box.c')
-rw-r--r--src/Box.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/Box.c b/src/Box.c
index 1194f70..df1dd0b 100644
--- a/src/Box.c
+++ b/src/Box.c
@@ -28,13 +28,13 @@ Copyright 1987, 1988 by Digital Equipment Corporation, Maynard, Massachusetts.
All Rights Reserved
-Permission to use, copy, modify, and distribute this software and its
-documentation for any purpose and without fee is hereby granted,
+Permission to use, copy, modify, and distribute this software and its
+documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
-both that copyright notice and this permission notice appear in
+both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Digital not be
used in advertising or publicity pertaining to distribution of the
-software without specific, written prior permission.
+software without specific, written prior permission.
DIGITAL DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
@@ -47,9 +47,9 @@ SOFTWARE.
******************************************************************/
-/*
+/*
* Box.c - Box composite widget
- *
+ *
*/
#include <X11/IntrinsicP.h>
@@ -169,7 +169,7 @@ static void DoLayout(bbw, width, height, reply_width, reply_height, position)
Dimension h_space; /* Local copy of bbw->box.h_space */
Widget widget; /* Current widget */
int num_mapped_children = 0;
-
+
/* Box width and height */
h_space = bbw->box.h_space;
@@ -181,11 +181,11 @@ static void DoLayout(bbw, width, height, reply_width, reply_height, position)
w += h_space;
if ( w > width ) width = w;
h = bbw->box.v_space;
-
+
/* Line width and height */
lh = 0;
lw = h_space;
-
+
for (i = 0; i < bbw->composite.num_children; i++) {
widget = bbw->composite.children[i];
if (widget->core.managed) {
@@ -317,7 +317,7 @@ static XtGeometryResult PreferredSize(widget, constraint, preferred)
else
return XtGeometryAlmost;
}
-
+
/* else gotta do it the long way...
I have a preference for tall and narrow, so if my width is
constrained, I'll accept it; otherwise, I'll compute the minimum