summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/shared/ClashAvoider.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/ClashAvoider.cpp b/src/shared/ClashAvoider.cpp
index b5d99cbd..637872ef 100644
--- a/src/shared/ClashAvoider.cpp
+++ b/src/shared/ClashAvoider.cpp
@@ -88,6 +88,9 @@ ClashAvoider::map_path(const Raul::Path& in)
parent_str = "/";
//cout << "***** PARENT: " << parent_str << endl;
}
+
+ if (offset == 0)
+ offset = 2;
std::stringstream ss;
ss << base_path << "_" << offset;