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.37.tar.gz
[xscreensaver]
/
hacks
/
glx
/
tronbit.c
diff --git
a/hacks/glx/tronbit.c
b/hacks/glx/tronbit.c
index 2571964ff82e2159cd749027ba3b3045b1105b3d..832d329d1d65cec4f7f2e2fd75df03aa601c7b08 100644
(file)
--- a/
hacks/glx/tronbit.c
+++ b/
hacks/glx/tronbit.c
@@
-407,14
+407,7
@@
init_bit (ModeInfo *mi)
bit_configuration *bp;
int i;
bit_configuration *bp;
int i;
- if (!bps) {
- bps = (bit_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (bit_configuration));
- if (!bps) {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, bps, NULL);
bp = &bps[MI_SCREEN(mi)];
bp = &bps[MI_SCREEN(mi)];