mirror of https://github.com/BOINC/boinc.git
Mac SS: Fix build break due to RPC changes of std::string to char[n]
svn path=/trunk/boinc/; revision=20985
This commit is contained in:
parent
97f09a68c3
commit
3ca5c8ac21
|
@ -2051,3 +2051,9 @@ David 22 Mar 2010
|
|||
BOINCBaseFrame.h
|
||||
lib/
|
||||
mfile.cpp
|
||||
|
||||
Charlie 23 Mar 2010
|
||||
- Mac SS: Fix build break due to RPC changes of std::string to char[n].
|
||||
|
||||
clientscr/
|
||||
screensaver.cpp
|
||||
|
|
|
@ -176,14 +176,14 @@ int CScreensaver::launch_screensaver(RESULT* rp, int& graphics_application)
|
|||
char* argv[5];
|
||||
argv[0] = "gfx_Switcher";
|
||||
argv[1] = "-launch_gfx";
|
||||
argv[2] = strrchr(rp->slot_path.c_str(), '/');
|
||||
argv[2] = strrchr(rp->slot_path, '/');
|
||||
if (*argv[2]) argv[2]++; // Point to the slot number in ascii
|
||||
|
||||
argv[3] = "--fullscreen";
|
||||
argv[4] = 0;
|
||||
|
||||
retval = run_program(
|
||||
rp->slot_path.c_str(),
|
||||
rp->slot_path,
|
||||
m_gfx_Switcher_Path,
|
||||
4,
|
||||
argv,
|
||||
|
|
Loading…
Reference in New Issue