X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeaderEntry.cxx;h=514a591eace2439f0b913a6b01cc2771bc08f765;hb=a547ed6d41e444153f4bea38c47810fe7f50d88e;hp=34424cc558af85db02f9a1b2353e856ef43c645f;hpb=365c111fbc0b5750e23c90a1775c4af2d4e3ace4;p=gdcm.git diff --git a/src/gdcmHeaderEntry.cxx b/src/gdcmHeaderEntry.cxx index 34424cc5..514a591e 100644 --- a/src/gdcmHeaderEntry.cxx +++ b/src/gdcmHeaderEntry.cxx @@ -14,7 +14,7 @@ #include // 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);