From 80dc5ecf0d3915f6c2a5505a540ff14957e07cc5 Mon Sep 17 00:00:00 2001 From: jpr Date: Fri, 3 Feb 2006 18:00:53 +0000 Subject: [PATCH] misstyping --- Example/PhilipsToBrucker2.cxx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Example/PhilipsToBrucker2.cxx b/Example/PhilipsToBrucker2.cxx index e6d1a9c0..8a46e536 100755 --- a/Example/PhilipsToBrucker2.cxx +++ b/Example/PhilipsToBrucker2.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: PhilipsToBrucker2.cxx,v $ Language: C++ - Date: $Date: 2006/02/03 17:51:13 $ - Version: $Revision: 1.16 $ + Date: $Date: 2006/02/03 18:00:53 $ + Version: $Revision: 1.17 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -555,7 +555,9 @@ int main(int argc, char *argv[]) currentFile->InsertEntryString(strChSliceIndex, 0x0021, 0x1020, stringVR); currentFile->InsertEntryString(chFrameIndex, 0x0021, 0x1040, stringVR); - if (!taggrid) + if (taggrid) + frameIndex++; + else { if (flag == 0) { @@ -566,7 +568,8 @@ int main(int argc, char *argv[]) frameIndex++; flag = 0; } - } + } + if (split) //fullWriteFilename = currentPhaseEncodingDirectionWriteDir + gdcm::GDCM_FILESEPARATOR -- 2.48.1