]> Creatis software - gdcm.git/commitdiff
* bug fix for the file name
authorregrain <regrain>
Thu, 5 Feb 2004 15:09:26 +0000 (15:09 +0000)
committerregrain <regrain>
Thu, 5 Feb 2004 15:09:26 +0000 (15:09 +0000)
     -- BeNours

src/gdcmDicomDir.cxx

index 39685088a8cea1d405bf514b11a94edf32846d74..44b8c68e0aed7c521c32d0a529a3a896dfe07338 100644 (file)
@@ -151,7 +151,7 @@ void gdcmDicomDir::NewDicomDir(std::string path)
 
    std::sort(list.begin(),list.end(),gdcmDicomDir::HeaderLessThan);
 
-   SetElements(path,list);
+   SetElements(fileList.GetDirName(),list);
 }
 
 /*