X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDir.cxx;h=b93876b2f4c27800969e7f388a326836b744dc25;hb=507c357466602345e4bd9de6c475e0887cf2ba36;hp=e79743c3492f27a36a65864c95c3bcc33f10cf87;hpb=591ddc3eab16229e7b419051d490d6e3e73408f9;p=gdcm.git diff --git a/src/gdcmDicomDir.cxx b/src/gdcmDicomDir.cxx index e79743c3..b93876b2 100644 --- a/src/gdcmDicomDir.cxx +++ b/src/gdcmDicomDir.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDir.cxx,v $ Language: C++ - Date: $Date: 2005/12/13 15:08:17 $ - Version: $Revision: 1.180 $ + Date: $Date: 2005/12/13 16:32:20 $ + Version: $Revision: 1.181 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -941,7 +941,8 @@ void DicomDir::SetElement(std::string const &path, DicomDirType type, } else { - val = &(header->GetFileName().c_str()[path.length()+1]); + //val = &(header->GetFileName().c_str()[path.length()+1]); + val = &(header->GetFileName().c_str()[path.length()]); } break;