Changeset 1dccbc9965c3…
Parent 5ab289f25d6a…
by
Changes to one file · Browse files at 1dccbc9965c3 Showing diff from parent 5ab289f25d6a Diff from another changeset...
@@ -26,9 +26,12 @@ ):
parent_(p), name_(n), tickcount_(0), status_(-1)
{
- path_ = basepath;
- if (!n.empty())
- path_ += "/" + n;
+ if (n.empty())
+ path_ = basepath;
+ else if (basepath.empty())
+ path_ = n;
+ else
+ path_ = basepath + '/' + n;
}
|
Loading...