Quick Updates

svn path=/trunk/boinc/; revision=23660
This commit is contained in:
Rom Walton 2011-06-07 16:20:59 +00:00
parent f087ac94ca
commit f01f867d38
1 changed files with 5 additions and 5 deletions

View File

@ -1491,14 +1491,14 @@ void CAdvancedFrame::OnLaunchNewInstance(wxCommandEvent& WXUNUSED(event)) {
int prog;
#endif
int argc = 3;
char* argv[3];
char* const argv[3] = {
const_cast<char *>("boincmgr"),
const_cast<char *>("--multiple"),
const_cast<char *>("")
};
wxString strExecutable = wxGetApp().GetRootDirectory() + wxGetApp().GetExecutableName();
argv[0] = "boincmgr";
argv[1] = "--multiple";
argv[2] = "";
run_program(
wxGetApp().GetRootDirectory().mb_str(),
strExecutable.mb_str(),