X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDataEntry.cxx;h=7263a80e9ce97768cc639eb9b958a14bb49186a3;hb=224876ca6cbe71952f2a1d66d9853eca7745d3a0;hp=ca55ae56e4811ac118fb79dbac28ba39c2ff59a2;hpb=2fc611bb9b521a14111cfe86ece302361815dd48;p=gdcm.git diff --git a/src/gdcmDataEntry.cxx b/src/gdcmDataEntry.cxx index ca55ae56..7263a80e 100644 --- a/src/gdcmDataEntry.cxx +++ b/src/gdcmDataEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDataEntry.cxx,v $ Language: C++ - Date: $Date: 2007/09/28 14:16:09 $ - Version: $Revision: 1.50 $ + Date: $Date: 2007/10/30 09:14:41 $ + Version: $Revision: 1.51 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -545,6 +545,7 @@ std::string const &DataEntry::GetHexaRepresentation() const return *StrHexaArea; // When short integer(s) are stored, convert the following (n * 2) characters // as a displayable string, the values being separated by a back-slash + s2 << std::hex; if( vr == "US" ) @@ -594,7 +595,8 @@ std::string const &DataEntry::GetHexaRepresentation() const s2 << data[i]; } *StrHexaArea=s2.str(); - } else if( vr == "FL" ) + } + else if( vr == "FL" ) { float *data=(float *)BinArea; for (unsigned int i=0; i < GetValueCount(); i++)