diff options
Diffstat (limited to '')
-rw-r--r-- | astro/pngphoon/files/patch-moon.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/astro/pngphoon/files/patch-moon.c b/astro/pngphoon/files/patch-moon.c new file mode 100644 index 000000000000..9fdf5936475c --- /dev/null +++ b/astro/pngphoon/files/patch-moon.c @@ -0,0 +1,11 @@ +--- moon.c.orig 2025-07-18 07:32:17 UTC ++++ moon.c +@@ -148,7 +148,7 @@ void mooncopy( image_t *image, moon_t *moondata, int c + moonoff = y * ( moondata->width ) / 8; + imageoff = (y + yoffset) * image->xbytes + xoffset / 8; + +- shade = blackflag ? shade = 0xff : shades[shadeindex][y % 8]; ++ shade = blackflag ? 0xff : shades[shadeindex][y % 8]; + + /* finally, hack the bits */ + if( bytexleft == bytexright ) |