diff options
author | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
---|---|---|
committer | Simon Rettberg | 2019-07-30 16:03:58 +0200 |
commit | 6a32252403781b303d4ebd195932ce39c5b1c08e (patch) | |
tree | cd2f8b3c4052c1b575caf33c9983ae531fad9092 /hacks/glx/fliptext.c | |
parent | Remove android and OSX files (diff) | |
download | xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.gz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.tar.xz xscreensaver-6a32252403781b303d4ebd195932ce39c5b1c08e.zip |
Update to 5.43
Diffstat (limited to 'hacks/glx/fliptext.c')
-rw-r--r-- | hacks/glx/fliptext.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hacks/glx/fliptext.c b/hacks/glx/fliptext.c index 951c188..030900b 100644 --- a/hacks/glx/fliptext.c +++ b/hacks/glx/fliptext.c @@ -1,5 +1,5 @@ /* - * fliptext, Copyright (c) 2005-2015 Jamie Zawinski <jwz@jwz.org> + * fliptext, Copyright (c) 2005-2019 Jamie Zawinski <jwz@jwz.org> * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -805,7 +805,7 @@ init_fliptext (ModeInfo *mi) MI_INIT(mi, scs); sc = &scs[MI_SCREEN(mi)]; - sc->lines = (line **) calloc (max_lines+1, sizeof(char *)); + sc->lines = (line **) calloc (max_lines+1, sizeof(*sc->lines)); sc->dpy = MI_DISPLAY(mi); |