X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=hacks%2Fxflame.c;h=bd2be990f36923e8e5da306fb6affb39ad702ba9;hb=14627f4038ada5d11456f3770090f3c39740d70f;hp=2e569e07cb959ea3be9ae81dca8dbcd3271d45c7;hpb=93f25dc6827112d98b8b855ea85c8f5eb8123086;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;