]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.cxx
* Test/TestUtil.cxx : reformat the source code
[gdcm.git] / src / gdcmHeader.cxx
index 1857184cd296669a1224afcd58f6985254bcbca0..9bef4bd08c26b596dbb4d9815f9041485ad35070 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmHeader.cxx,v $
   Language:  C++
-  Date:      $Date: 2004/12/07 02:36:21 $
-  Version:   $Revision: 1.212 $
+  Date:      $Date: 2004/12/07 13:39:33 $
+  Version:   $Revision: 1.213 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -979,7 +979,7 @@ std::string Header::GetPixelType()
    {
       return "FD";
    }
-   if ( bitsAlloc == "12" )
+   else if ( bitsAlloc == "12" )
    {
       // It will be unpacked
       bitsAlloc = "16";
@@ -997,7 +997,7 @@ std::string Header::GetPixelType()
       dbg.Verbose(0, "Header::GetPixelType: unfound Pixel Representation");
       bitsAlloc = "0";
    }
-   if ( sign == "0" )
+   else if ( sign == "0" )
    {
       sign = "U";
    }