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
/
lament.c
diff --git
a/hacks/glx/lament.c
b/hacks/glx/lament.c
index 2a4b6395bb74f982c9dcfa77d01a5c17073552e9..f29b4322daa6ca85c7a58a54cd663f329cdbc21a 100644
(file)
--- a/
hacks/glx/lament.c
+++ b/
hacks/glx/lament.c
@@
-1705,16
+1705,7
@@
init_lament (ModeInfo *mi)
{
lament_configuration *lc;
int i;
{
lament_configuration *lc;
int i;
- if (!lcs)
- {
- lcs = (lament_configuration *)
- calloc(MI_NUM_SCREENS(mi), sizeof (lament_configuration));
- if (!lcs)
- {
- fprintf(stderr, "%s: out of memory\n", progname);
- exit(1);
- }
- }
+ MI_INIT (mi, lcs, NULL);
lc = &lcs[MI_SCREEN(mi)];
lc = &lcs[MI_SCREEN(mi)];