From: jpr Date: Thu, 22 Jan 2004 10:16:26 +0000 (+0000) Subject: to avoid printing troubles with odd length fields padded with zero to become even X-Git-Tag: Version0.4~73 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=d441f6f81784ccb09ce382c2eb574bc2b737cc6e;p=gdcm.git to avoid printing troubles with odd length fields padded with zero to become even --- diff --git a/src/gdcmUtil.cxx b/src/gdcmUtil.cxx index b642db19..475d71c2 100644 --- a/src/gdcmUtil.cxx +++ b/src/gdcmUtil.cxx @@ -131,12 +131,20 @@ char *_cleanString(char *v) { // to prevent a flashing screen when non-printable character std::string _CreateCleanString(std::string s) { std::string str=s; - for(int i=0;i