]> Creatis software - clitk.git/blobdiff - common/clitkEsrfHstImageIO.cxx
Comment snoutID
[clitk.git] / common / clitkEsrfHstImageIO.cxx
index 8023ddd62d5aff56046c7fa26c9b4b2a45007ca6..e9b8fdf3ed6227a14670706c91bcf21f3b3fbe23 100644 (file)
@@ -79,7 +79,7 @@ bool clitk::EsrfHstImageIO::CanReadFile(const char* FileNameToRead)
 
   std::string firstLine;
   std::getline(is, firstLine);
-  if(firstLine != std::string("<!-- PyHST VOLUME XML FILE -->") )
+  if(firstLine.find( std::string("<!-- PyHST VOLUME XML FILE -->") ) == std::string::npos)
     return false;
 
   return true;