diff options
Diffstat (limited to 'RealtimeSync/main_dlg.cpp')
-rw-r--r-- | RealtimeSync/main_dlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/RealtimeSync/main_dlg.cpp b/RealtimeSync/main_dlg.cpp index 447f1f01..3f22dcc3 100644 --- a/RealtimeSync/main_dlg.cpp +++ b/RealtimeSync/main_dlg.cpp @@ -339,7 +339,7 @@ void MainDialog::OnRemoveTopFolder(wxCommandEvent& event) { if (dirNamesExtra.size() > 0) { - const wxString topDir = (*dirNamesExtra.begin())->getName().c_str(); + const wxString topDir = zToWx((*dirNamesExtra.begin())->getName()); dirNameFirst->setName(wxToZ(topDir)); |