X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fphosphor.c;h=c01f5a5a17b7e37aaac8b749483f1c49720ef078;hp=55920e9b1f0c412321d6f8e258834d6036919159;hb=3f438031d610c7e15fd33876a879b97e290e05fb;hpb=447db08c956099b3b183886729108bf5b364c4b8 diff --git a/hacks/phosphor.c b/hacks/phosphor.c index 55920e9b..c01f5a5a 100644 --- a/hacks/phosphor.c +++ b/hacks/phosphor.c @@ -1147,7 +1147,7 @@ launch_text_generator (p_state *state) /* oprogram contains a "%d" where the current number of columns goes */ strcpy (program, "( "); - sprintf (program + strlen(program), oprogram, state->grid_width); + sprintf (program + strlen(program), oprogram, state->grid_width-1); strcat (program, " ) 2>&1"); #ifdef HAVE_FORKPTY