diff --git a/build/wx/setup-build.h b/build/wx/setup-build.h index dd14efced..b4d7c0b5e 100644 --- a/build/wx/setup-build.h +++ b/build/wx/setup-build.h @@ -29,7 +29,7 @@ #define wxUSE_CMDLINE_PARSER 0 #define wxUSE_THREADS 1 #define wxUSE_STREAMS 1 -#define wxUSE_STD_IOSTREAM 1 +#define wxUSE_STD_IOSTREAM 0 #define wxUSE_STD_STRING 1 #define wxUSE_PRINTF_POS_PARAMS 1 #define wxUSE_LONGLONG 1 diff --git a/src/utils.cpp b/src/utils.cpp index 1eefa80da..989ca9971 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -105,7 +105,7 @@ void RestartAegisub() { if (bundle_path.empty() || helper_path.empty()) return; wxString exec = fmt_wx("\"%s\" /usr/bin/open -n \"%s\"'", helper_path, bundle_path); - LOG_I("util/restart/exec") << exec; + LOG_I("util/restart/exec") << exec.utf8_str(); wxExecute(exec); #else wxExecute(wxStandardPaths::Get().GetExecutablePath());