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
/
unknownpleasures.c
diff --git
a/hacks/glx/unknownpleasures.c
b/hacks/glx/unknownpleasures.c
index 236fd8e6bd5ddcd57694a52731409c4f4a1c32e1..eac67f44ae74c5c6f828fc097b3fc10936eb89ca 100644
(file)
--- a/
hacks/glx/unknownpleasures.c
+++ b/
hacks/glx/unknownpleasures.c
@@
-175,14
+175,7
@@
init_unk (ModeInfo *mi)
{
unk_configuration *bp;
{
unk_configuration *bp;
- if (!bps) {
- bps = (unk_configuration *)
- calloc (MI_NUM_SCREENS(mi), sizeof (unk_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)];