Fix restarting after lang/options change (RestartAegisub()).

(this is unix only)

Originally committed to SVN as r2687.
This commit is contained in:
Amar Takhar 2009-01-12 21:26:44 +00:00
parent a6858fe54a
commit dc83532e02

View file

@ -400,6 +400,7 @@ void RestartAegisub() {
wxExecute(wxString::Format(_T("/usr/bin/open \"%s\""), wxString(bundle_path, wxConvUTF8)));
free(bundle_path);
#else
// someone fix this
wxStandardPaths stand;
wxExecute(stand.GetExecutablePath());
#endif
}