diff options
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | Makefile.am | 6 | ||||
| -rw-r--r-- | b4light.c | 12 | ||||
| -rw-r--r-- | configure.ac | 4 |
4 files changed, 13 insertions, 13 deletions
@@ -71,9 +71,9 @@ core *.tar.bz2 *.tar.gz # -# Add & Override patterns for beforelight +# Add & Override patterns for beforelight # # Edit the following section as needed # For example, !report.pc overrides *.pc. See 'man gitignore' -# +# beforelight diff --git a/Makefile.am b/Makefile.am index 4ba7951..3451574 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ # $Id$ -# +# # 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 @@ -11,7 +11,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 @@ -146,7 +146,7 @@ Draw (Moving *mp, int n) { XPoint xp[MAX_POINTS]; int i; - for (i = 0; i < n; i++) + for (i = 0; i < n; i++) { xp[i].x = mp[i].x; xp[i].y = mp[i].y; } @@ -247,7 +247,7 @@ Timeout (XtPointer closure, XtIntervalId *id) } } -static void +static void StartSaver (void) { if (screen_saved) @@ -266,7 +266,7 @@ StopSaver (void) screen_saved = False; } -static int +static int ignoreError (Display *dpy, XErrorEvent *error) { return 0; @@ -279,7 +279,7 @@ static const char * const usage = " -help print this usage message\n" " -version print program version\n"; -int +int main(int argc, char *argv[]) { Widget toplevel; @@ -387,14 +387,14 @@ main(int argc, char *argv[]) saver = info->window; if (info->state == ScreenSaverOn) { - if (info->kind != ScreenSaverExternal) + if (info->kind != ScreenSaverExternal) { XResetScreenSaver (display); XActivateScreenSaver (display); } StartSaver (); } - for (;;) + for (;;) { XtAppNextEvent (app_con, &event); if (event.type == ss_event) { diff --git a/configure.ac b/configure.ac index 612d75c..b579167 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 |
