projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.22.tar.gz
[xscreensaver]
/
hacks
/
phosphor.c
diff --git
a/hacks/phosphor.c
b/hacks/phosphor.c
index 55920e9b1f0c412321d6f8e258834d6036919159..c01f5a5a17b7e37aaac8b749483f1c49720ef078 100644
(file)
--- 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, "( ");
/* 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
strcat (program, " ) 2>&1");
#ifdef HAVE_FORKPTY