commit | 101ab708b0574518ac5715da4d3915400e9df79a | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Thu Oct 13 13:06:32 2011 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Thu Oct 13 13:06:32 2011 +0000 |
tree | ae82d6bf1eb743f757f6dd59d61f2eab13b26065 | |
parent | 1224a9941fcdddc1c36cbc74e34c81b7fb67ce28 [diff] [blame] |
diff --git a/coders/uil.c b/coders/uil.c index 7a86a59..28003f3 100644 --- a/coders/uil.c +++ b/coders/uil.c
@@ -329,7 +329,7 @@ else (void) FormatLocaleString(buffer,MaxTextExtent, " color('%s',%s) = '%s'",name, - GetPixelPacketIntensity(image->colormap+i) < + GetPixelInfoIntensity(image->colormap+i) < ((Quantum) QuantumRange/2) ? "background" : "foreground",symbol); (void) WriteBlobString(image,buffer); (void) FormatLocaleString(buffer,MaxTextExtent,"%s",