X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmValidator.cxx;h=c62079f121911fc4aa85c3d1940f08468068cac9;hb=ffdb9c8b7989534fa00184da95a5c2aad7a07cd9;hp=af42a3b65b6aa34a46af882fda36e59f8bf8a5ac;hpb=2f119e4daab0342ba672b8aa3d21b1fb6212a2bb;p=gdcm.git diff --git a/src/gdcmValidator.cxx b/src/gdcmValidator.cxx index af42a3b6..c62079f1 100644 --- a/src/gdcmValidator.cxx +++ b/src/gdcmValidator.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmValidator.cxx,v $ Language: C++ - Date: $Date: 2005/06/17 12:15:54 $ - Version: $Revision: 1.3 $ + Date: $Date: 2005/06/24 10:55:59 $ + Version: $Revision: 1.4 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -40,7 +40,7 @@ bool CheckVM(ValEntry *v) { const std::string &s = v->GetValue(); std::string::size_type n = s.find("\\"); - if (n == s.npos) // none found + if ( n == s.npos ) // none found { n = 0; } @@ -69,7 +69,7 @@ void Validator::SetInput(ElementSet *input) } else if ( gdcm::ValEntry *v = dynamic_cast(d) ) { - if( !CheckVM(v)) + if ( !CheckVM(v) ) { std::cout << "Rah this DICOM contains one wrong tag:" << v->GetValue() << " " <<