From: jpr Date: Fri, 3 Feb 2006 18:00:53 +0000 (+0000) Subject: misstyping X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=80dc5ecf0d3915f6c2a5505a540ff14957e07cc5;p=gdcm.git misstyping --- 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