]> Creatis software - gdcm.git/blobdiff - src/gdcmHeaderEntry.cxx
2004-01-31 Jean-Pierre Roux
[gdcm.git] / src / gdcmHeaderEntry.cxx
index 34424cc558af85db02f9a1b2353e856ef43c645f..514a591eace2439f0b913a6b01cc2771bc08f765 100644 (file)
@@ -14,7 +14,7 @@
 #include <iomanip> // for std::ios::left, ...
 
 
-#define MAX_SIZE_PRINT_ELEMENT_VALUE 64
+#define MAX_SIZE_PRINT_ELEMENT_VALUE 10000
 
 //-----------------------------------------------------------------------------
 // Constructor / Destructor
@@ -51,7 +51,7 @@ void gdcmHeaderEntry::Print(std::ostream & os) {
    d2 = _CreateCleanString(v);  // replace non printable characters by '.'
    if (printLevel>=2) { 
       s << "lg : ";
-      lgth = GetReadLength();
+      lgth = GetReadLength(); // ReadLength, as opposed to UsableLength
       if (lgth == 0xffffffff) {
          sprintf(st,"x(ffff)");  // I said : "x(ffff)" !
          s.setf(std::ios::left);