X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmFileHelper.cxx;h=1b454c60de9f0534104818aa9eadddb932910319;hb=536e773e8f72c8e949831abf6496c348d5badf2d;hp=bc5fe6636d0a2b254bdada7e2dade822ec55462b;hpb=822ffdf0c95d3b299e58af26147931024c4bd59b;p=gdcm.git diff --git a/src/gdcmFileHelper.cxx b/src/gdcmFileHelper.cxx index bc5fe663..1b454c60 100644 --- a/src/gdcmFileHelper.cxx +++ b/src/gdcmFileHelper.cxx @@ -4,8 +4,8 @@ Module: $RCSfile: gdcmFileHelper.cxx,v $ Language: C++ - Date: $Date: 2005/10/18 12:49:55 $ - Version: $Revision: 1.61 $ + Date: $Date: 2005/10/18 12:58:28 $ + Version: $Revision: 1.62 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -1121,8 +1121,8 @@ DataEntry *FileHelper::CopyDataEntry(uint16_t group, uint16_t elem, DocEntry *oldE = FileInternal->GetDocEntry(group, elem); DataEntry *newE; - if ( oldE && vr != GDCM_UNKNOWN ) - if ( oldE->GetVR()!=vr ) + if ( oldE && vr != GDCM_VRUNKNOWN ) + if ( oldE->GetVR() != vr ) oldE = NULL; if ( oldE )