From d1116cc93913773784c4d3a89324c7241410edb6 Mon Sep 17 00:00:00 2001 From: Tom Goddard Date: Mon, 11 Sep 2017 11:02:41 -0700 Subject: [PATCH] Fixed indentation to use 4 spaces. --- libImaging/Convert.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libImaging/Convert.c b/libImaging/Convert.c index 4ed6abc29..f7c01a65d 100644 --- a/libImaging/Convert.c +++ b/libImaging/Convert.c @@ -49,7 +49,7 @@ #ifndef round double round(double x) { - return floor(x+0.5); + return floor(x+0.5); } #endif @@ -731,7 +731,7 @@ I16S_I(UINT8* out_, const UINT8* in, int xsize) int x; INT32* out = (INT32*) out_; for (x = 0; x < xsize; x++, in += 2) - *out++ = (INT16)(in[0] + ((int) in[1] << 8)); + *out++ = (INT16)(in[0] + ((int) in[1] << 8)); } static void @@ -820,9 +820,9 @@ I16S_L(UINT8* out, const UINT8* in, int xsize) int x; for (x = 0; x < xsize; x++, in += 2) if (in[1] & 0x80) - *out++ = 0; /* Negative -> 0 */ + *out++ = 0; /* Negative -> 0 */ else if (in[1] != 0) - *out++ = 255; /* Greater than 255 -> 255 */ + *out++ = 255; /* Greater than 255 -> 255 */ else *out++ = in[0]; }