xlockmore-3.3 patch

David Mosberger-Tang (davidm@azstarnet.com)
Mon, 19 Feb 1996 18:51:34 -0700


Here is a tiny patch for xlockmore-3.3 as distributed with Red Hat
2.1/AXP. It makes "xlock -mode swirl" work in 16 bits/pixel mode.
Looks rather beautiful, I must say!

The patches is also on

ftp.azstarnet.com:/pub/linux/axp/misc/xlockmore-3.3.swirl-patch

--david

--
--- xlockmore-3.3/swirl.c~	Wed Sep 27 19:03:42 1995
+++ xlockmore-3.3/swirl.c	Mon Feb 19 18:38:58 1996
@@ -360,13 +360,13 @@
       (**value).red   = c->r ;
       (**value).green = c->g ;
       (**value).blue  = c->b ;
+      (*value)++;
 
       /* now we've done it */
       done = True ;
     }
 
     /* next pixel */
-    (*value)++ ;
     (*pixel)++ ;
   }
 }