X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fthornbird.c;h=c2edeb7c90f2d21ae0f5dfa84378ae733cd8e528;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=e7bbf6ddf360b24935a98aeee59750b3077ae945;hpb=6f5482d73adb0165c0130bb47d852644ab0c4869;p=xscreensaver diff --git a/hacks/thornbird.c b/hacks/thornbird.c index e7bbf6dd..c2edeb7c 100644 --- a/hacks/thornbird.c +++ b/hacks/thornbird.c @@ -36,6 +36,7 @@ static const char sccsid[] = "@(#)thornbird.c 5.00 2000/11/01 xlockmore"; "*cycles: 400 \n" \ "*ncolors: 64 \n" \ "*fpsSolid: true \n" \ + "*ignoreRotation: True \n" \ # define BRIGHT_COLORS # define thornbird_handle_event 0 @@ -221,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) {