summaryrefslogtreecommitdiff
path: root/jcmaster.c
diff options
context:
space:
mode:
authorDRC <information@libjpeg-turbo.org>2018-03-17 15:14:35 -0500
committerDRC <information@libjpeg-turbo.org>2018-03-17 15:19:41 -0500
commit293263c3529e0e351183492704b76ef24c090be4 (patch)
treebfa1deed90df20207b58bb75b74065fb46c2b2e8 /jcmaster.c
parent09497c1a734cfb22e9d4f1d0b390fa7901c46faa (diff)
Format preprocessor macros more consistently
Within the libjpeg API code, it seems to be more the convention than not to separate the macro name and value by two or more spaces, which improves general readability. Making this consistent across all of libjpeg-turbo is less about my individual preferences and more about making it easy to automatically detect variations from our chosen formatting convention. I intend to release the script I'm using to validate this stuff, once it matures and stabilizes a bit.
Diffstat (limited to 'jcmaster.c')
-rw-r--r--jcmaster.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/jcmaster.c b/jcmaster.c
index 7536a6f..8516f4b 100644
--- a/jcmaster.c
+++ b/jcmaster.c
@@ -242,9 +242,9 @@ validate_script(j_compress_ptr cinfo)
* which might cause problems for some decoders.
*/
#if BITS_IN_JSAMPLE == 8
-#define MAX_AH_AL 10
+#define MAX_AH_AL 10
#else
-#define MAX_AH_AL 13
+#define MAX_AH_AL 13
#endif
if (Ss < 0 || Ss >= DCTSIZE2 || Se < Ss || Se >= DCTSIZE2 ||
Ah < 0 || Ah > MAX_AH_AL || Al < 0 || Al > MAX_AH_AL)