From b06cbd9177331d793223eac6bf8b2bccf874e7e3 Mon Sep 17 00:00:00 2001 From: jpr Date: Tue, 18 Sep 2007 15:56:41 +0000 Subject: [PATCH] Forgot to update this one --- src/gdcmDocument.cxx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/src/gdcmDocument.cxx b/src/gdcmDocument.cxx index 4d88d9c8..fcef258b 100644 --- a/src/gdcmDocument.cxx +++ b/src/gdcmDocument.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDocument.cxx,v $ Language: C++ - Date: $Date: 2007/09/17 12:16:02 $ - Version: $Revision: 1.369 $ + Date: $Date: 2007/09/18 15:56:41 $ + Version: $Revision: 1.370 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -2133,17 +2133,19 @@ bool Document::CheckSwap() } // Check if next 2 bytes are a VR // Probabely something more time-consuming exists with std::string - const char VRvalues[] = "AEASCSDADSFLFDISLOLTPNSHSLSSSTTMUIULUSUTOBOWOFATUNSQ"; - int nbVal = 26; + const char VRvalues[] = "AEASATCSDADTFLFDISLOLTPNSHSLSSSTTMUIULUSUTOBOWOFATUNSQRT"; + int nbVal = 28; const char *pt = VRvalues; for (int i=0;i