X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=vtk%2FvtkGdcmReader.cxx;h=3a3de007a9d5b7eb1568a6123dd94f45767463f0;hb=0ffb612fa350791ea6de473a5c5a1fd965f80227;hp=7708dee3a60966b772290817960c13f26b1fe332;hpb=c04f72b2466db911700aaea2d14426de678e9b94;p=gdcm.git diff --git a/vtk/vtkGdcmReader.cxx b/vtk/vtkGdcmReader.cxx index 7708dee3..3a3de007 100644 --- a/vtk/vtkGdcmReader.cxx +++ b/vtk/vtkGdcmReader.cxx @@ -329,16 +329,16 @@ void vtkGdcmReader::BuildFileListFromPattern() return; } - if ((! this->FileNameList.empty()) && this->FilePattern ) + if ((! this->FileNameList.empty()) && this->FilePrefix ) { - vtkErrorMacro("Both AddFileName and SetFilePattern schemes were used"); + vtkErrorMacro("Both AddFileName and SetFilePrefix schemes were used"); vtkErrorMacro("No images loaded ! "); return; } - if (this->FileName && this->FilePattern) + if (this->FileName && this->FilePrefix) { - vtkErrorMacro("Both SetFileName and SetFilePattern schemes were used"); + vtkErrorMacro("Both SetFileName and SetFilePrefix schemes were used"); vtkErrorMacro("No images loaded ! "); return; } @@ -350,10 +350,10 @@ void vtkGdcmReader::BuildFileListFromPattern() return; } - if (!this->FileName && !this->FilePattern) + if (!this->FileName && !this->FilePrefix) { vtkErrorMacro("FileNames are not set. Either use AddFileName() or"); - vtkErrorMacro("specify a FileName or FilePattern."); + vtkErrorMacro("specify a FileName or FilePrefix."); return; }