]> Creatis software - gdcm.git/blobdiff - src/gdcmFile.cxx
Fix mistypings
[gdcm.git] / src / gdcmFile.cxx
index d70964b18988dff5dc9e6285e183fad925aeb490..25831770ad62730f51fdce21eb33cbe0bb920647 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmFile.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/11/21 16:25:26 $
-  Version:   $Revision: 1.342 $
+  Date:      $Date: 2009/05/19 15:08:36 $
+  Version:   $Revision: 1.344 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -491,7 +491,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing)
         }
       else
         {
-        if( mediastoragesopclassuid == sopclassuid )
+        if ( mediastoragesopclassuid == sopclassuid )
           {
           sopclassuid_used = mediastoragesopclassuid;
           }
@@ -502,7 +502,7 @@ bool File::GetSpacing(float &xspacing, float &yspacing, float &zspacing)
           return false;
           }
         }
-      // ok we have now the correc SOP Class UID
+      // ok we have now the correct SOP Class UID
       if( sopclassuid_used == "Enhanced MR Image Storage" )
         {
         SeqEntry *PerframeFunctionalGroupsSequence = GetSeqEntry(0x5200,0x9230);
@@ -2239,8 +2239,9 @@ bool File::ReadTag(uint16_t testGroup, uint16_t testElem)
    }
    catch ( FormatError )
    {
-      gdcmErrorMacro( "Can not read tag for "
-       << "   We should have found tag ("
+      gdcmErrorMacro( "Can not read tag at 0x(" 
+       << std::hex << positionOnEntry
+       << ").  We should have found tag ("
        << DictEntry::TranslateToKey(testGroup,testElem) << ")"
        ) ;