X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmValEntry.cxx;h=8b14f72f1e7d34f4e0f1ae0eada41234b434a826;hb=c92079b4881cba2560589210d4baeed9dd4d9cac;hp=08d791e0952963edf3b80693baf736f574294ea8;hpb=7815fe9dc3532b716dc478ca0f255263f99d296f;p=gdcm.git diff --git a/src/gdcmValEntry.cxx b/src/gdcmValEntry.cxx index 08d791e0..8b14f72f 100644 --- a/src/gdcmValEntry.cxx +++ b/src/gdcmValEntry.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmValEntry.cxx,v $ Language: C++ - Date: $Date: 2004/08/16 16:30:32 $ - Version: $Revision: 1.21 $ + Date: $Date: 2004/08/27 15:48:44 $ + Version: $Revision: 1.22 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -181,6 +181,12 @@ void gdcmValEntry::Print(std::ostream & os) void gdcmValEntry::Write(FILE *fp, FileType filetype) { gdcmDocEntry::Write(fp, filetype); + + if ( GetGroup() == 0xfffe ) + { + return; //delimitors have NO value + } + std::string vr = GetVR(); int lgr = GetReadLength(); if (vr == "US" || vr == "SS")