]> granicus.if.org Git - imagemagick/blobdiff - Magick++/lib/Color.cpp
(no commit message)
[imagemagick] / Magick++ / lib / Color.cpp
index 3a8f8b5bfcc4b104120f254639a34e7b760aac75..c382d45b6604a038d72345f8942159cdb7cf48b5 100644 (file)
@@ -196,7 +196,7 @@ const Magick::Color& Magick::Color::operator = ( const std::string &x11color_ )
   PixelPacket target_color;
   ExceptionInfo exception;
   GetExceptionInfo( &exception );
-  if ( QueryColorDatabase( x11color_.c_str(), &target_color, &exception ) )
+  if ( QueryColorCompliance( x11color_.c_str(), AllCompliance, &target_color, &exception ) )
     {
       redQuantum( target_color.red );
       greenQuantum( target_color.green );