changeset 22:e4fe73260914

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 20 May 2015 14:58:56 +0200
parents 8d103f6d08bd
children 574d910a57f0
files Core/Dicom.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Core/Dicom.cpp	Wed May 20 12:59:01 2015 +0200
+++ b/Core/Dicom.cpp	Wed May 20 14:58:56 2015 +0200
@@ -265,7 +265,7 @@
     }
 
     std::string tmp(data->GetPointer(), data->GetLength());
-    StripSpaces(tmp);
+    tmp = StripSpaces(tmp);
 
     return GetDicomEncoding(tmp.c_str());
   }
@@ -313,7 +313,7 @@
       result = ConvertToUtf8(tmp, sourceEncoding);
     }
 
-    StripSpaces(result);
+    result = StripSpaces(result);
     return true;
   }