]> Creatis software - gdcm.git/commitdiff
typo
authorjpr <jpr>
Fri, 9 Nov 2007 10:18:21 +0000 (10:18 +0000)
committerjpr <jpr>
Fri, 9 Nov 2007 10:18:21 +0000 (10:18 +0000)
Testing/TestReadWriteJPEGReadCompare.cxx

index da39e64ed0387d7e261ec56152452d6692a3d99c..e2e532561fee88c52d77a1282c6b83db20caa65b 100755 (executable)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: TestReadWriteJPEGReadCompare.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/11/09 08:33:19 $
-  Version:   $Revision: 1.13 $
+  Date:      $Date: 2007/11/09 10:18:21 $
+  Version:   $Revision: 1.14 $
 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -188,7 +188,7 @@ static int CompareInternalJPEG(std::string const &filename, std::string const &o
           {
              if (abs ((int)imageData[i]-(int)imageDataWritten[i]) > 2)
              {
-                if (j<MAX_NUMBER_OF_DIFFERENCE)
+                if (j2<MAX_NUMBER_OF_DIFFERENCE)
                    std::cout << std::dec << "(" << i << " : "
                      << std::hex
                      << (int)(imageData[i]) << " - "