projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4259607
)
Fixed return value.
author
dirk
<dirk@git.imagemagick.org>
Sun, 9 Oct 2016 15:33:27 +0000
(17:33 +0200)
committer
dirk
<dirk@git.imagemagick.org>
Sun, 9 Oct 2016 15:33:27 +0000
(17:33 +0200)
MagickWand/pixel-wand.c
patch
|
blob
|
history
diff --git
a/MagickWand/pixel-wand.c
b/MagickWand/pixel-wand.c
index 5d2b390f472623a804c06890ce3f1edb621dd68c..eb027db8503355d86ee75077840363565618b038 100644
(file)
--- a/
MagickWand/pixel-wand.c
+++ b/
MagickWand/pixel-wand.c
@@
-1100,7
+1100,7
@@
WandExport Quantum PixelGetIndex(const PixelWand *wand)
assert(wand->signature == MagickWandSignature);
if (wand->debug != MagickFalse)
(void) LogMagickEvent(WandEvent,GetMagickModule(),"%s",wand->name);
- return((Quantum) wand->pixel.
black
);
+ return((Quantum) wand->pixel.
index
);
}
\f
/*