From a5e2f2d4f6a0295cef0705684c627eafb10bc5af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Mon, 29 May 2017 07:54:24 +0000 Subject: [PATCH] git-svn-id: svn://db.shs.com.ru/pip@502 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- src_main/io/pidir.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;