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.35.tar.gz
[xscreensaver]
/
hacks
/
thornbird.c
diff --git
a/hacks/thornbird.c
b/hacks/thornbird.c
index cb5541de2e99b9bc12e3c697f558c7971a03e997..c2edeb7c90f2d21ae0f5dfa84378ae733cd8e528 100644
(file)
--- a/
hacks/thornbird.c
+++ b/
hacks/thornbird.c
@@
-222,6
+222,7
@@
draw_thornbird(ModeInfo * mi)
MI_IS_DRAWN(mi) = True;
+ if (MI_COUNT(mi) < 1) MI_COUNT(mi) = 1;
if (hp->pointBuffer[erase] == NULL) {
if ((hp->pointBuffer[erase] = (XPoint *) malloc(MI_COUNT(mi) *
sizeof (XPoint))) == NULL) {