projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d268ec2
)
https://github.com/ImageMagick/ImageMagick/issues/1019
author
Cristy
<urban-warrior@imagemagick.org>
Mon, 9 Jul 2018 23:32:35 +0000
(19:32 -0400)
committer
Cristy
<urban-warrior@imagemagick.org>
Mon, 9 Jul 2018 23:32:35 +0000
(19:32 -0400)
Magick++/tests/attributes.cpp
patch
|
blob
|
history
diff --git
a/Magick++/tests/attributes.cpp
b/Magick++/tests/attributes.cpp
index 66aad95b256cf8ccf79b02461b35f43f592f83e7..e1a2d68dbbfb2e8957717ed35a07faf8962b69e5 100644
(file)
--- a/
Magick++/tests/attributes.cpp
+++ b/
Magick++/tests/attributes.cpp
@@
-154,7
+154,7
@@
int main( int /*argc*/, char ** argv)
//
// Test default value.
- if ( image.backgroundColor() !=
ColorRGB("white"
) )
+ if ( image.backgroundColor() !=
string(ColorRGB("white")
) )
{
++failures;
cout << "Line: " << __LINE__ << ", backgroundColor default ("
@@
-1055,7
+1055,7
@@
int main( int /*argc*/, char ** argv)
// pixelColor
//
// Test default
- if ( image.pixelColor(40,60) !=
canvasColor
)
+ if ( image.pixelColor(40,60) !=
string(canvasColor)
)
{
++failures;
cout << "Line: " << __LINE__ << ", pixelColor default ("