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
/
vines.c
diff --git
a/hacks/vines.c
b/hacks/vines.c
index c24807803c7d90e5e5b951dc9174e01a5ba03edb..1abf29916de8add2071b45dbb50070ea4f798f76 100644
(file)
--- a/
hacks/vines.c
+++ b/
hacks/vines.c
@@
-103,12
+103,7
@@
init_vines(ModeInfo * mi)
{
vinestruct *fp;
- if (vines == NULL) {
- if ((vines = (vinestruct *) calloc(MI_NUM_SCREENS(mi),
- sizeof (vinestruct))) == NULL) {
- return;
- }
- }
+ MI_INIT (mi, vines, 0);
fp = &vines[MI_SCREEN(mi)];
fp->i = 0;