X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fbarcode.c;h=7e15d0d4b01622348a533abc5f70156a50068e47;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=cde87e40309db5b9a94ddc7d00c97da79447c4e7;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/barcode.c b/hacks/barcode.c index cde87e40..7e15d0d4 100644 --- a/hacks/barcode.c +++ b/hacks/barcode.c @@ -1728,7 +1728,7 @@ static void updateGrid (struct state *st) s[j] = (random() % 10) + '0'; s[j++] = '?'; s[j++] = ':'; - s[j++] = 0; + s[j] = 0; } /* change one digit in this barcode */ @@ -1911,6 +1911,7 @@ barcode_free (Display *dpy, Window window, void *closure) static const char *barcode_defaults [] = { ".background: black", ".foreground: green", + "*fpsSolid: true", "*delay: 10000", "*mode: scroll", 0