From e6f904cd3fcd4e6ea26d58ba52fb10a17cfbf566 Mon Sep 17 00:00:00 2001 From: Cristy Date: Sat, 3 Dec 2016 09:55:19 -0500 Subject: [PATCH] ... --- coders/json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coders/json.c b/coders/json.c index e02d77370..1b5c01b77 100644 --- a/coders/json.c +++ b/coders/json.c @@ -321,7 +321,7 @@ static ChannelStatistics *GetLocationStatistics(const Image *image, register ssize_t i; - if (GetPixelReadMask(image,p) == 0) + if (GetPixelWriteMask(image,p) == 0) { p+=GetPixelChannels(image); continue; -- 2.40.0