[devel] Spell "behavior" consistently.

This commit is contained in:
Glenn Randers-Pehrson 2011-08-25 18:17:50 -05:00
parent b6874f8062
commit 6d62ef108a
3 changed files with 5 additions and 5 deletions

View File

@ -180,7 +180,7 @@ Version 0.96 [May, 1997]
Fixed serious bug with < 8bpp images introduced in 0.95 Fixed serious bug with < 8bpp images introduced in 0.95
Fixed 256-color transparency bug (Greg Roelofs) Fixed 256-color transparency bug (Greg Roelofs)
Fixed up documentation (Greg Roelofs, Laszlo Nyul) Fixed up documentation (Greg Roelofs, Laszlo Nyul)
Fixed "error" in pngconf.h for Linux setjmp() behaviour Fixed "error" in pngconf.h for Linux setjmp() behavior
Fixed DOS medium model support (Tim Wegner) Fixed DOS medium model support (Tim Wegner)
Fixed png_check_keyword() for case with error in static string text Fixed png_check_keyword() for case with error in static string text
Added read of CRC after IEND chunk for embedded PNGs (Laszlo Nyul) Added read of CRC after IEND chunk for embedded PNGs (Laszlo Nyul)
@ -204,8 +204,8 @@ Version 0.97 [January, 1998]
Added more conditions for png_do_background, to avoid changing Added more conditions for png_do_background, to avoid changing
black pixels to background when a background is supplied and black pixels to background when a background is supplied and
no pixels are transparent no pixels are transparent
Repaired PNG_NO_STDIO behaviour Repaired PNG_NO_STDIO behavior
Tested NODIV support and made it default behaviour (Greg Roelofs) Tested NODIV support and made it default behavior (Greg Roelofs)
Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler) Added "-m" option and PNGTEST_DEBUG_MEMORY to pngtest (John Bowler)
Regularized version numbering scheme and bumped shared-library major Regularized version numbering scheme and bumped shared-library major
version number to 2 to avoid problems with libpng 0.89 apps (Greg Roelofs) version number to 2 to avoid problems with libpng 0.89 apps (Greg Roelofs)

2
png.c
View File

@ -43,7 +43,7 @@ png_set_sig_bytes(png_structp png_ptr, int num_bytes)
* can simply check the remaining bytes for extra assurance. Returns * can simply check the remaining bytes for extra assurance. Returns
* an integer less than, equal to, or greater than zero if sig is found, * an integer less than, equal to, or greater than zero if sig is found,
* respectively, to be less than, to match, or be greater than the correct * respectively, to be less than, to match, or be greater than the correct
* PNG signature (this is the same behaviour as strcmp, memcmp, etc). * PNG signature (this is the same behavior as strcmp, memcmp, etc).
*/ */
int PNGAPI int PNGAPI
png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check) png_sig_cmp(png_const_bytep sig, png_size_t start, png_size_t num_to_check)

2
png.h
View File

@ -2304,7 +2304,7 @@ PNG_EXPORT(171, void, png_set_sCAL_s,
handling or default unknown chunk handling is not desired. Any chunks not handling or default unknown chunk handling is not desired. Any chunks not
listed will be handled in the default manner. The IHDR and IEND chunks listed will be handled in the default manner. The IHDR and IEND chunks
must not be listed. must not be listed.
keep = 0: follow default behaviour keep = 0: follow default behavior
= 1: do not keep = 1: do not keep
= 2: keep only if safe-to-copy = 2: keep only if safe-to-copy
= 3: keep even if unsafe-to-copy = 3: keep even if unsafe-to-copy