]> Creatis software - gdcm.git/commitdiff
Fix mistyping
authorjpr <jpr>
Fri, 23 Mar 2007 16:03:31 +0000 (16:03 +0000)
committerjpr <jpr>
Fri, 23 Mar 2007 16:03:31 +0000 (16:03 +0000)
Example/PrintDicomDir.cxx

index 4241b729cdcc449287d48c128345ab902ba302db..d8b5f341a624fedbf78e74519fd6198c970155e4 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: PrintDicomDir.cxx,v $
   Language:  C++
-  Date:      $Date: 2007/03/23 14:57:19 $
-  Version:   $Revision: 1.34 $
+  Date:      $Date: 2007/03/23 16:03:31 $
+  Version:   $Revision: 1.35 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -261,9 +261,9 @@ int main(int argc, char* argv[])
                   pr = se->GetFirstPrivate();
                   while ( pr ) 
                   { // on degouline les 'Privates' de cette serie
-                     std::cout << "--- --- --- "<< " PRIVATE Ref. File ID :[" << im->GetEntryString(0x0004, 0x1500) 
+                     std::cout << "--- --- --- "<< " PRIVATE Ref. File ID :[" << pr->GetEntryString(0x0004, 0x1500) 
                                << "]" << std::endl; // File name (Referenced File ID)
-                     im = se->GetNextPrivate();   
+                     pr = se->GetNextPrivate();   
                   }
  
                   se = st->GetNextSerie();