Skip to content

Commit fff67e5

Browse files
committed
Fix Windows build
1 parent 17c6780 commit fff67e5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

source/activation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void DisplayLicenseOutput(){
5959
#ifdef __APPLE__
6060
= std::filesystem::path(wxGetHomeDir()) / "Library/Logs/Unity/Editor.log";
6161
#elif defined _WIN32
62-
= std::filesystem::path(wxGetHomeDir()) / "AppData"/"Local"/"Unity"/"Editor"/"Editor.log";
62+
= std::filesystem::path(wxGetHomeDir().ToStdString()) / "AppData"/"Local"/"Unity"/"Editor"/"Editor.log";
6363
#else
6464
= std::filesystem::path(wxGetHomeDir()) / ".config/unity3d/Editor.log";
6565
#endif

source/interface_derived.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ void MainFrameDerived::OnAddProject(wxCommandEvent& event){
199199

200200
wxDirDialog dlg(NULL, msg, "", wxDD_DEFAULT_STYLE | wxDD_DIR_MUST_EXIST | wxDD_MULTIPLE);
201201
if (dlg.ShowModal() == wxID_CANCEL) {
202-
return string("");
202+
return;
203203
}
204204
//get the path and return the standard string version
205205
wxArrayString paths;

0 commit comments

Comments
 (0)