Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -71,8 +71,8 @@ void G4HtmlPPReporter::SparseOption(const G4String& option)
|
||||
|
||||
// 1st option : base directory
|
||||
baseDir = savedToken();
|
||||
if (!baseDir.isNull()) {
|
||||
if(baseDir(baseDir.length()-1)!='/') {
|
||||
if (!baseDir.empty()) {
|
||||
if(baseDir.back()!='/') {
|
||||
baseDir += "/";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,8 +73,8 @@ void G4TextPPReporter::SparseOption(const G4String& option)
|
||||
|
||||
// 1st option : base directory
|
||||
baseDir = savedToken();
|
||||
if (!baseDir.isNull()) {
|
||||
if(baseDir(baseDir.length()-1)!='/') {
|
||||
if (!baseDir.empty()) {
|
||||
if(baseDir.back()!='/') {
|
||||
baseDir += "/";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -79,8 +79,8 @@ void G4TextPPRetriever::SparseOption(const G4String& option)
|
||||
|
||||
// 1st option : base directory
|
||||
baseDir = savedToken();
|
||||
if (!baseDir.isNull()) {
|
||||
if(baseDir(baseDir.length()-1)!='/') {
|
||||
if (!baseDir.empty()) {
|
||||
if(baseDir.back()!='/') {
|
||||
baseDir += "/";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user