diff options
Diffstat (limited to 'lib/dir_exist_async.h')
-rw-r--r-- | lib/dir_exist_async.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/dir_exist_async.h b/lib/dir_exist_async.h index f3826eb3..40ddffc7 100644 --- a/lib/dir_exist_async.h +++ b/lib/dir_exist_async.h @@ -9,7 +9,8 @@ #include <zen/thread.h> #include <zen/file_handling.h> -#include "status_handler.h" +//#include "status_handler.h" +#include "process_callback.h" #include <zen/file_error.h> #include "resolve_path.h" @@ -20,7 +21,7 @@ bool dirExistsUpdating(const Zstring& dirname, bool allowUserInteraction, Proces { using namespace zen; - procCallback.reportStatus(replaceCpy(_("Searching for directory %x..."), L"%x", std::wstring(L"\"") + dirname + L"\"", false)); + procCallback.reportStatus(replaceCpy(_("Searching for directory %x..."), L"%x", fmtFileName(dirname), false)); auto ft = async([=]() -> bool { |