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
/
rotor.c
diff --git
a/hacks/rotor.c
b/hacks/rotor.c
index 1b3d5b39b51396a505cc96fb727c889ab10be454..293b273cb58bfbfc4b108c191d5c6cba5c8ec0dd 100644
(file)
--- a/
hacks/rotor.c
+++ b/
hacks/rotor.c
@@
-127,11
+127,7
@@
init_rotor (ModeInfo * mi)
unsigned char wasiconified;
rotorstruct *rp;
- if (rotors == NULL) {
- if ((rotors = (rotorstruct *) calloc(MI_NUM_SCREENS(mi),
- sizeof (rotorstruct))) == NULL)
- return;
- }
+ MI_INIT (mi, rotors, 0);
rp = &rotors[MI_SCREEN(mi)];
#ifdef HAVE_JWXYZ