summaryrefslogtreecommitdiff
path: root/RealtimeSync/watcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'RealtimeSync/watcher.cpp')
-rw-r--r--RealtimeSync/watcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/RealtimeSync/watcher.cpp b/RealtimeSync/watcher.cpp
index 7aaa189d..97471397 100644
--- a/RealtimeSync/watcher.cpp
+++ b/RealtimeSync/watcher.cpp
@@ -91,7 +91,7 @@ void RealtimeSync::waitForChanges(const std::vector<wxString>& dirNames, WaitCal
throw FreeFileSync::FileError(_("Please fill all empty directory fields."));
else if (!FreeFileSync::dirExists(formattedDir))
throw FreeFileSync::FileError(wxString(_("Directory does not exist:")) + wxT("\n") +
- wxT("\"") + formattedDir + wxT("\"") + wxT("\n\n") +
+ wxT("\"") + zToWx(formattedDir) + wxT("\"") + wxT("\n\n") +
FreeFileSync::getLastErrorFormatted());
const HANDLE rv = ::FindFirstChangeNotification(
bgstack15