[libpng16] Folded long lines and fixed some grammar.

This commit is contained in:
Glenn Randers-Pehrson
2012-08-16 00:51:44 -05:00
parent 810c99583b
commit 025d415838
10 changed files with 153 additions and 113 deletions

3
png.c
View File

@@ -1477,7 +1477,8 @@ png_XYZ_normalize(png_XYZ *XYZ)
/* Normalize by scaling so the sum of the end-point Y values is PNG_FP_1.
* IMPLEMENTATION NOTE: ANSI requires signed overflow not to occur, therefore
* relying on addition of two positive values producing a negative one is not * safe.
* relying on addition of two positive values producing a negative one is not
* safe.
*/
Y = XYZ->redY;
if (0x7fffffff - Y < XYZ->greenX) return 1;