fixed "schematic.png" bug
authorkramm <kramm>
Sat, 21 Feb 2004 20:26:39 +0000 (20:26 +0000)
committerkramm <kramm>
Sat, 21 Feb 2004 20:26:39 +0000 (20:26 +0000)
src/png2swf.c

index cc70c61..fe46551 100644 (file)
@@ -418,6 +418,7 @@ void applyfilter1(int mode, U8*src, U8*old, U8*dest, int width)
     else if(mode==3) {
        for(x=0;x<width;x++) {
            *dest = *src+(*old+last)/2;
+           last = *dest;
            dest++;
            old++;
            src++;