X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=hacks%2Fxflame.c;h=bd2be990f36923e8e5da306fb6affb39ad702ba9;hb=8eb2873d7054e705c4e83f22d18c40946a9e2529;hp=2e569e07cb959ea3be9ae81dca8dbcd3271d45c7;hpb=0316d74da7982288abddd34e7a62698eb7f79965;p=xscreensaver diff --git a/hacks/xflame.c b/hacks/xflame.c index 2e569e07..bd2be990 100644 --- a/hacks/xflame.c +++ b/hacks/xflame.c @@ -533,6 +533,13 @@ FlameAdvance(void) if (used) newtop = y - 1; } + + /* clean up the right gutter */ + { + int v1 = (int)*ptr1; + v1 = (v1 * residual) >> 8; + *ptr1 = (unsigned char)v1; + } } top = newtop - 1;