]> Creatis software - gdcm.git/commitdiff
To solve lengthes = 0x(FFFF) related pb
authorjpr <jpr>
Thu, 22 Jan 2004 16:51:56 +0000 (16:51 +0000)
committerjpr <jpr>
Thu, 22 Jan 2004 16:51:56 +0000 (16:51 +0000)
src/gdcmHeaderEntry.cxx

index 6ce3a9f8f1d6a7f18339923378db82fadb8bc6fd..32a83b60b9a0decd17a9c031a8c8be767ce428e6 100644 (file)
@@ -51,7 +51,7 @@ void gdcmHeaderEntry::Print(std::ostream & os) {
       s << "lg : ";
       lgth = GetReadLength();
       if (lgth == 0xffffffff) {
-         sprintf(st,"x(%ff)");
+         sprintf(st,"x(ff)");  // I said : "x(ff)" !
          s.setf(std::ios::left);
          s << std::setw(10-strlen(st)) << " ";  
          s << st << " ";