]> Creatis software - gdcm.git/commitdiff
*FIX: Use carnaught table to reduce boolean expr !
authormalaterre <malaterre>
Tue, 18 Nov 2003 09:23:16 +0000 (09:23 +0000)
committermalaterre <malaterre>
Tue, 18 Nov 2003 09:23:16 +0000 (09:23 +0000)
src/gdcmHeader.cxx

index 0b02c516cbeb2664b9d5a186a25f77135520ffa6..c394fd2b7439fcb81cdb160736f9cfe02f0d52ec 100644 (file)
@@ -1,4 +1,4 @@
-// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.119 2003/11/14 16:22:28 malaterre Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.cxx,v 1.120 2003/11/18 09:23:16 malaterre Exp $
 
 #include "gdcmHeader.h"
 
@@ -653,8 +653,8 @@ void gdcmHeader::FixFoundLength(gdcmElValue * ElVal, guint32 FoundLength) {
    else if (FoundLength == 13) {
       // The following 'if' will be removed when there is no more
       // images on Creatis HDs with a 13 length for Manufacturer...
-      if ( (ElVal->GetGroup() != 0x0008) &&  
-           ( (ElVal->GetElement() != 0x0070) || (ElVal->GetElement() != 0x0080) ) ) {
+      if ( (ElVal->GetGroup() != 0x0008) ||  
+           ( (ElVal->GetElement() != 0x0070) && (ElVal->GetElement() != 0x0080) ) ) {
       // end of remove area
          FoundLength =10;
         ElVal->SetReadLength(10); // a bug is to be fixed