]> Creatis software - gdcm.git/blobdiff - src/gdcmDocument.cxx
sub-minor ... and so forth
[gdcm.git] / src / gdcmDocument.cxx
index e4e8fd1e8455797516faa2edc8b1498dadb1d122..33243b57512fa3a67ef428f3d06a1d7901bc1ac6 100644 (file)
@@ -1023,7 +1023,7 @@ bool gdcmDocument::WriteEntries(FILE *_fp,FileType type)
          if ((*tag2).second->GetGroup() < 0x0008)
             // Ignore pure DICOM V3 groups
             continue;
-         if ((*tag2).second->GetElement() %2)
+         if ((*tag2).second->GetGroup() %2)
             // Ignore the "shadow" groups
             continue;
          if ((*tag2).second->GetVR() == "SQ" ) // ignore Sequences