From http://www.jwz.org/xscreensaver/xscreensaver-5.35.tar.gz
[xscreensaver] / hacks / thornbird.c
index e7bbf6ddf360b24935a98aeee59750b3077ae945..c2edeb7c90f2d21ae0f5dfa84378ae733cd8e528 100644 (file)
@@ -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) {