|
[yoda-svn] r472 - trunk/srcblackhole at projects.hepforge.org blackhole at projects.hepforge.orgMon Jul 2 14:52:32 BST 2012
Author: hoeth Date: Mon Jul 2 14:52:32 2012 New Revision: 472 Log: No trailing slash for paths Modified: trunk/src/WriterAIDA.cc Modified: trunk/src/WriterAIDA.cc ============================================================================== --- trunk/src/WriterAIDA.cc Fri Jun 29 18:15:33 2012 (r471) +++ trunk/src/WriterAIDA.cc Mon Jul 2 14:52:32 2012 (r472) @@ -51,7 +51,7 @@ const size_t slashpos = s.path().rfind("/"); if (slashpos != string::npos) { name = s.path().substr(slashpos+1, s.path().length() - slashpos - 1); - path = s.path().substr(0, slashpos+1); + path = s.path().substr(0, slashpos); } os << " <dataPointSet name=\"" << Utils::encodeForXML(name) << "\"" << " title=\"" << Utils::encodeForXML(s.title()) << "\""
More information about the yoda-svn mailing list |