[libpng14] Changed '"%s"m' to '"%s" m' in png_debug macros to improve

portability among compilers.
This commit is contained in:
Glenn Randers-Pehrson 2013-11-28 16:39:03 -06:00
parent f711f0f239
commit 2de869d310
3 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,5 @@
Libpng 1.4.13beta04 - June 18, 2013
Libpng 1.4.13beta04 - November 28, 2013
This is not intended to be a public release. It will be replaced
within a few weeks by a public version or by another test version.
@ -47,7 +47,9 @@ version 1.4.13beta03 [June 18, 2013]
Removed a redundant test from png_set_IHDR().
Revised libpng.3 so that "doclifter" can process it.
version 1.4.13beta04 [June 18, 2013]
version 1.4.13beta04 [November 28, 2013]
Changed '"%s"m' to '"%s" m' in png_debug macros to improve portability
among compilers.
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -2889,7 +2889,9 @@ version 1.4.13beta03 [June 18, 2013]
Removed a redundant test from png_set_IHDR().
Revised libpng.3 so that "doclifter" can process it.
version 1.4.13beta04 [June 18, 2013]
version 1.4.13beta04 [November 28, 2013]
Changed '"%s"m' to '"%s" m' in png_debug macros to improve portability
among compilers.
Send comments/corrections/commendations to glennrp at users.sourceforge.net
or to png-mng-implement at lists.sf.net (subscription required; visit

View File

@ -1,7 +1,7 @@
/* pngpriv.h - private declarations for use inside libpng
*
* libpng version 1.4.13beta04 - June 18, 2013
* libpng version 1.4.13beta04 - November 28, 2013
* For conditions of distribution and use, see copyright notice in png.h
* Copyright (c) 1998-2011 Glenn Randers-Pehrson
* (Version 0.96 Copyright (c) 1996, 1997 Andreas Dilger)
@ -886,7 +886,7 @@ PNG_EXTERN void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
# define png_debug(l,m) \
{ \
int num_tabs=l; \
fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
(num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":"")))); \
}
# endif
@ -894,7 +894,7 @@ PNG_EXTERN void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
# define png_debug1(l,m,p1) \
{ \
int num_tabs=l; \
fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
(num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1); \
}
# endif
@ -902,7 +902,7 @@ PNG_EXTERN void *png_far_to_near PNGARG((png_structp png_ptr,png_voidp ptr,
# define png_debug2(l,m,p1,p2) \
{ \
int num_tabs=l; \
fprintf(PNG_DEBUG_FILE,"%s"m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
fprintf(PNG_DEBUG_FILE,"%s" m PNG_STRING_NEWLINE,(num_tabs==1 ? "\t" : \
(num_tabs==2 ? "\t\t":(num_tabs>2 ? "\t\t\t":""))),p1,p2); \
}
# endif