[devel] Reverted type of "my_background" to png_color_16 in the manual.
diff --git a/libpng.3 b/libpng.3
index 51da7fd..4b3da9a 100644
--- a/libpng.3
+++ b/libpng.3
@@ -2609,13 +2609,14 @@
to convey this information, however only two combinations are likely to be
useful:
- png_color_16p image_background, my_background;
+ png_color_16 my_background;
+ png_color_16p image_background;
if (png_get_bKGD(png_ptr, info_ptr, &image_background))
png_set_background(png_ptr, image_background,
PNG_BACKGROUND_GAMMA_FILE, 1/*needs to be expanded*/, 1);
else
- png_set_background(png_ptr, my_background,
+ png_set_background(png_ptr, &my_background,
PNG_BACKGROUND_GAMMA_SCREEN, 0/*do not expand*/, 1);
The second call was described above - my_background is in the format of the