projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver]
/
hacks
/
barcode.c
diff --git
a/hacks/barcode.c
b/hacks/barcode.c
index d6592163f496492db7f104570cbcf0b2bf47bcbf..cd3038ce534b1bf4fc109b621232a387bb3bf6db 100644
(file)
--- a/
hacks/barcode.c
+++ b/
hacks/barcode.c
@@
-14,6
+14,7
@@
*/
#include <math.h>
*/
#include <math.h>
+#include <time.h>
#include "screenhack.h"
/* non-user-modifiable immutable definitions */
#include "screenhack.h"
/* non-user-modifiable immutable definitions */
@@
-824,7
+825,7
@@
static void drawDigitChar (struct state *st, Bitmap *b, int x, int y, char c)
if ((c < '0') || (c > '9'))
c = '0';
if ((c < '0') || (c > '9'))
c = '0';
-
bitmapDrawChar5x8 (b, x, y, c);
+ bitmapDrawChar5x8 (b, x, y, c);
}
/* draw a upc/ean digit at the given coordinates */
}
/* draw a upc/ean digit at the given coordinates */