X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Ffontglide.c;h=ee1cb2525e3108d66dbd7e192803384f0514e515;hp=02493c8543c0f12951b929ed1505d5fca1d9759a;hb=447db08c956099b3b183886729108bf5b364c4b8;hpb=2d04c4f22466851aedb6ed0f2919d148f726b889 diff --git a/hacks/fontglide.c b/hacks/fontglide.c index 02493c85..ee1cb252 100644 --- a/hacks/fontglide.c +++ b/hacks/fontglide.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 2003 Jamie Zawinski +/* xscreensaver, Copyright (c) 2003, 2005 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -1346,9 +1346,7 @@ static void launch_text_generator (state *s) { char *oprogram = get_string_resource ("program", "Program"); - char *program; - - program = (char *) malloc (strlen (oprogram) + 10); + char *program = (char *) malloc (strlen (oprogram) + 10); strcpy (program, "( "); strcat (program, oprogram); strcat (program, " ) 2>&1"); @@ -1536,7 +1534,7 @@ char *defaults [] = { ".foreground: #DDDDDD", ".borderColor: #555555", "*delay: 10000", - "*program: " FORTUNE_PROGRAM, + "*program: xscreensaver-text", "*mode: random", ".font: (default)", "*fontCharset: iso8859-1",