From f10c6bb603b6b0b4693ff9da3bf27e5b65cce8eb Mon Sep 17 00:00:00 2001 From: xmuli Date: Wed, 8 Jul 2020 23:59:46 +0800 Subject: Add spaces around '/*' and '*/' Like most other Qt coding styles, the necessary spaces should be added to the sides of '/*' and '*/' --- png.c | 4 ++-- 1 file 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 */ -- cgit v1.2.1