From f6a9256db2c463f73982c79378b563d92a6ff180 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sat, 20 Nov 2010 17:24:20 -0800 Subject: Remove trailing whitespace Signed-off-by: Alan Coopersmith --- Makefile.am | 6 +++--- configure.ac | 4 ++-- xeyes.c | 18 +++++++++--------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Makefile.am b/Makefile.am index 3947bbf..8dbfcf1 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ -# +# # Copyright 2005 Red Hat, Inc. -# +# # Permission to use, copy, modify, distribute, and sell this software and its # documentation for any purpose is hereby granted without fee, provided that # the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ # specific, written prior permission. Red Hat makes no # representations about the suitability of this software for any purpose. It # is provided "as is" without express or implied warranty. -# +# # RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, # INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO # EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR diff --git a/configure.ac b/configure.ac index a873bd2..077f520 100644 --- a/configure.ac +++ b/configure.ac @@ -1,6 +1,6 @@ dnl Copyright 2005 Red Hat, Inc. -dnl +dnl dnl Permission to use, copy, modify, distribute, and sell this software and its dnl documentation for any purpose is hereby granted without fee, provided that dnl the above copyright notice appear in all copies and that both that @@ -10,7 +10,7 @@ dnl advertising or publicity pertaining to distribution of the software without dnl specific, written prior permission. Red Hat makes no dnl representations about the suitability of this software for any purpose. It dnl is provided "as is" without express or implied warranty. -dnl +dnl dnl RED HAT DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, dnl INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO dnl EVENT SHALL RED HAT BE LIABLE FOR ANY SPECIAL, INDIRECT OR diff --git a/xeyes.c b/xeyes.c index 91967dc..2a8235d 100644 --- a/xeyes.c +++ b/xeyes.c @@ -36,8 +36,8 @@ from the X Consortium. #include #include #include "Eyes.h" -#include -#include +#include +#include #include "eyes.bit" #include "eyesmask.bit" @@ -48,7 +48,7 @@ usage(void) { fprintf(stderr, "usage: xeyes\n"); - fprintf (stderr, + fprintf (stderr, " [-geometry [{width}][x{height}][{+-}{xoff}[{+-}{yoff}]]] [-display [{host}]:[{vs}]]\n"); fprintf(stderr, " [-fg {color}] [-bg {color}] [-bd {color}] [-bw {pixels}]"); @@ -85,7 +85,7 @@ static Atom wm_delete_window; static void quit(Widget w, XEvent *event, String *params, Cardinal *num_params) { - if (event->type == ClientMessage && + if (event->type == ClientMessage && event->xclient.data.l[0] != wm_delete_window) { XBell(XtDisplay(w), 0); } else { @@ -105,10 +105,10 @@ main(int argc, char **argv) Widget toplevel; Arg arg[2]; Cardinal i; - + XtSetLanguageProc(NULL, (XtLanguageProc) NULL, NULL); - toplevel = XtAppInitialize(&app_context, "XEyes", + toplevel = XtAppInitialize(&app_context, "XEyes", options, XtNumber(options), &argc, argv, NULL, arg, (Cardinal) 0); if (argc != 1) usage(); @@ -118,14 +118,14 @@ main(int argc, char **argv) XtAppAddActions(app_context, actions, XtNumber(actions)); XtOverrideTranslations (toplevel, XtParseTranslationTable ("WM_PROTOCOLS: quit()")); - + i = 0; - XtSetArg (arg[i], XtNiconPixmap, + XtSetArg (arg[i], XtNiconPixmap, XCreateBitmapFromData (XtDisplay(toplevel), XtScreen(toplevel)->root, (char *)eyes_bits, eyes_width, eyes_height)); i++; - XtSetArg (arg[i], XtNiconMask, + XtSetArg (arg[i], XtNiconMask, XCreateBitmapFromData (XtDisplay(toplevel), XtScreen(toplevel)->root, (char *)eyesmask_bits, -- cgit v1.2.3