forked from mia/Aegisub
Fix restarting after lang/options change (RestartAegisub()).
(this is unix only) Originally committed to SVN as r2687.
This commit is contained in:
parent
a6858fe54a
commit
dc83532e02
1 changed files with 2 additions and 1 deletions
|
@ -400,6 +400,7 @@ void RestartAegisub() {
|
||||||
wxExecute(wxString::Format(_T("/usr/bin/open \"%s\""), wxString(bundle_path, wxConvUTF8)));
|
wxExecute(wxString::Format(_T("/usr/bin/open \"%s\""), wxString(bundle_path, wxConvUTF8)));
|
||||||
free(bundle_path);
|
free(bundle_path);
|
||||||
#else
|
#else
|
||||||
// someone fix this
|
wxStandardPaths stand;
|
||||||
|
wxExecute(stand.GetExecutablePath());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue