diff --git a/src_main/io/pidir.cpp b/src_main/io/pidir.cpp index eb4b3f39..6c36565a 100755 --- a/src_main/io/pidir.cpp +++ b/src_main/io/pidir.cpp @@ -113,7 +113,7 @@ PIString PIDir::absolutePath() const { PIDir & PIDir::cleanPath() { PIString p(path_); - if (p.size() == 0) { + if (p.isEmpty()) { path_ = "."; return *this; } @@ -197,7 +197,7 @@ bool PIDir::make(bool withParents) { if (!cdp.isEmpty()) cdp += separator; cdp += i; - //piCout << cdp; + //piCout << "dir" << cdp; if (!isExists(cdp)) if (!makeDir(cdp)) return false;