From c8e0e909b4a8d18319fc65434a10dc446434817c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:19:49 +0200 Subject: 5.3 --- lib/dir_exist_async.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/dir_exist_async.h') 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 #include -#include "status_handler.h" +//#include "status_handler.h" +#include "process_callback.h" #include #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 { -- cgit