change scanline.c