mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[libpng16] Fixed several typos and expanded TAB characters.
This commit is contained in:
parent
f2aacefb3f
commit
9d1ddbb78f
@ -251,7 +251,7 @@ set_value(png_bytep row, size_t rowbytes, png_uint_32 x, unsigned int bit_depth,
|
|||||||
{
|
{
|
||||||
unsigned int mask = (1U << bit_depth)-1;
|
unsigned int mask = (1U << bit_depth)-1;
|
||||||
|
|
||||||
x *= bit_depth; /* Maxium x is 4*1024, maxium bit_depth is 16 */
|
x *= bit_depth; /* Maximum x is 4*1024, maximum bit_depth is 16 */
|
||||||
|
|
||||||
if (value <= mask)
|
if (value <= mask)
|
||||||
{
|
{
|
||||||
@ -1232,7 +1232,7 @@ find_insert(png_const_charp what, png_charp param)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* This is a not-very-good parser for a sequence of numbers (including 0). It
|
/* This is a not-very-good parser for a sequence of numbers (including 0). It
|
||||||
* doesn't accept some apparenly valid things, but it accepts all the sensible
|
* doesn't accept some apparently valid things, but it accepts all the sensible
|
||||||
* combinations.
|
* combinations.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user