]> granicus.if.org Git - imagemagick/commitdiff
Fixed test.
authordirk <dirk@git.imagemagick.org>
Sat, 23 Nov 2013 21:36:50 +0000 (21:36 +0000)
committerdirk <dirk@git.imagemagick.org>
Sat, 23 Nov 2013 21:36:50 +0000 (21:36 +0000)
Magick++/tests/colorHistogram.cpp

index 4418eacc9a13c639a0efb4dc3e4670a0bb88e59a..3085a0931a74681559d85d947fa305ffccf29e1d 100644 (file)
@@ -71,9 +71,9 @@ int main( int /*argc*/, char ** argv)
     while (p != histogram.end())
       {
         cout << setw(10) << (int)p->second << ": ("
-             << setw(quantum_width) << (int)p->first.redQuantum() << ","
-             << setw(quantum_width) << (int)p->first.greenQuantum() << ","
-             << setw(quantum_width) << (int)p->first.blueQuantum() << ")"
+             << setw(quantum_width) << (int)p->first.quantumRed() << ","
+             << setw(quantum_width) << (int)p->first.quantumGreen() << ","
+             << setw(quantum_width) << (int)p->first.quantumBlue() << ")"
              << endl;
         p++;
       }