diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-20 17:24:20 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2010-11-20 17:24:20 -0800 |
commit | f6a9256db2c463f73982c79378b563d92a6ff180 (patch) | |
tree | 589cf5eac5ac72e7b40ad55a32aec58c74a4309f | |
parent | 906c634e85111deac379f0a8e664c933d31c97d8 (diff) |
Remove trailing whitespace
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | Makefile.am | 6 | ||||
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | 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 @@ -36,8 +36,8 @@ from the X Consortium. #include <X11/StringDefs.h> #include <X11/Shell.h> #include "Eyes.h" -#include <stdio.h> -#include <stdlib.h> +#include <stdio.h> +#include <stdlib.h> #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 ("<Message>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, |