From 8067268ff1c967f3604e506b4fc36343a7ac70df Mon Sep 17 00:00:00 2001 From: jpr Date: Mon, 18 Jun 2007 12:13:44 +0000 Subject: [PATCH] Fix loosing the first image of each serie. Thx to Pierre Fillard for reporting and fixing the bug --- src/gdcmSerieHelper.cxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gdcmSerieHelper.cxx b/src/gdcmSerieHelper.cxx index 8d800cea..d3f7c001 100644 --- a/src/gdcmSerieHelper.cxx +++ b/src/gdcmSerieHelper.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSerieHelper.cxx,v $ Language: C++ - Date: $Date: 2007/06/08 12:49:37 $ - Version: $Revision: 1.57 $ + Date: $Date: 2007/06/18 12:13:44 $ + Version: $Revision: 1.58 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -455,7 +455,7 @@ XCoherentFileSetmap SerieHelper::SplitOnOrientation(FileList *fileSet) std::ostringstream ossOrient; FileList::const_iterator it = fileSet->begin(); - it ++; + //it ++; for ( ; it != fileSet->end(); ++it) @@ -505,7 +505,7 @@ XCoherentFileSetmap SerieHelper::SplitOnPosition(FileList *fileSet) std::ostringstream ossPosition; std::string strPosition; // re computed FileList::const_iterator it = fileSet->begin(); - it ++; + //it ++; for ( ; it != fileSet->end(); ++it) @@ -581,7 +581,7 @@ XCoherentFileSetmap SerieHelper::SplitOnTagValue(FileList *fileSet, std::string strTagValue; // read on disc FileList::const_iterator it = fileSet->begin(); - it ++; + //it ++; for ( ; it != fileSet->end(); ++it) -- 2.48.1