]> granicus.if.org Git - imagemagick/commitdiff
Build fix.
authordirk <dirk@git.imagemagick.org>
Sun, 8 Nov 2015 07:41:28 +0000 (08:41 +0100)
committerdirk <dirk@git.imagemagick.org>
Sun, 8 Nov 2015 07:41:28 +0000 (08:41 +0100)
Magick++/tests/attributes.cpp

index 3ff1db46b7c2169f12d4e36bf96ae7dcd228a772..67ba3202a5029f3ba610635fa7cd5e8fcfc6326d 100644 (file)
@@ -34,26 +34,26 @@ int main( int /*argc*/, char ** argv)
     //
 
     // Test default value
-    if ( image.antiAlias() != true )
+    if ( image.textAntiAlias() != true )
       {
        ++failures;
-       cout << "Line: " << __LINE__ << ", antiAlias default not true" << endl;
+       cout << "Line: " << __LINE__ << ", textAntiAlias default not true" << endl;
       }
 
     // Test setting false
-    image.antiAlias( false );
-    if ( image.antiAlias() != false )
+    image.textAntiAlias( false );
+    if ( image.textAntiAlias() != false )
       {
        ++failures;
-       cout << "Line: " << __LINE__ << ", antiAlias not false" << endl;
+       cout << "Line: " << __LINE__ << ", textAntiAlias not false" << endl;
       }
 
     // Test setting true
-    image.antiAlias( true );
-    if ( image.antiAlias() != true )
+    image.textAntiAlias( true );
+    if ( image.textAntiAlias() != true )
       {
        ++failures;
-       cout << "Line: " << __LINE__ << ", antiAlias not true" << endl;
+       cout << "Line: " << __LINE__ << ", textAntiAlias not true" << endl;
       }
 
     //