summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxmuli <xmulitech@gmail.com>2020-07-08 23:59:46 +0800
committerCosmin Truta <ctruta@gmail.com>2022-09-13 01:37:02 +0300
commitf10c6bb603b6b0b4693ff9da3bf27e5b65cce8eb (patch)
tree9ee2e5ca23040d94033bee417eb7501f46b0ad3b
parentf16427e58e5e96bcb7308fccb7e9c4e67f0af271 (diff)
downloadlibpng-f10c6bb603b6b0b4693ff9da3bf27e5b65cce8eb.tar.gz
Add spaces around '/*' and '*/'
Like most other Qt coding styles, the necessary spaces should be added to the sides of '/*' and '*/'
-rw-r--r--png.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/png.c b/png.c
index a4a239abf..12f405016 100644
--- a/png.c
+++ b/png.c
@@ -1843,12 +1843,12 @@ png_icc_profile_error(png_const_structrp png_ptr, png_colorspacerp colorspace,
# ifdef PNG_WARNINGS_SUPPORTED
else
{
- char number[PNG_NUMBER_BUFFER_SIZE]; /* +24 = 114*/
+ char number[PNG_NUMBER_BUFFER_SIZE]; /* +24 = 114 */
pos = png_safecat(message, (sizeof message), pos,
png_format_number(number, number+(sizeof number),
PNG_NUMBER_FORMAT_x, value));
- pos = png_safecat(message, (sizeof message), pos, "h: "); /*+2 = 116*/
+ pos = png_safecat(message, (sizeof message), pos, "h: "); /* +2 = 116 */
}
# endif
/* The 'reason' is an arbitrary message, allow +79 maximum 195 */