mirror of https://github.com/BOINC/boinc.git
Mac SS: Minor tweak for use in debugging
svn path=/branches/boinc_core_release_6_12/; revision=22679
This commit is contained in:
parent
2099a4c214
commit
76381d93e6
|
@ -7705,3 +7705,9 @@ Rom 08 Nov 2010
|
|||
/
|
||||
configure.ac
|
||||
version.h
|
||||
|
||||
Charlie 11 Nov 2010
|
||||
- Mac SS: Minor tweak for use in debugging.
|
||||
|
||||
clientscr/
|
||||
mac_saver_module.cpp
|
||||
|
|
|
@ -341,8 +341,13 @@ OSStatus CScreensaver::initBOINCApp() {
|
|||
if (++retryCount > 3) // Limit to 3 relaunches to prevent thrashing
|
||||
return -1;
|
||||
|
||||
#ifdef _DEBUG
|
||||
err = -1;
|
||||
#else
|
||||
err = GetpathToBOINCManagerApp(boincPath, sizeof(boincPath));
|
||||
if (err) { // If we couldn't find BOINCManager.app, try default path
|
||||
#endif
|
||||
if (err)
|
||||
{ // If we couldn't find BOINCManager.app, try default path
|
||||
strcpy(boincPath, "/Applications/");
|
||||
if (brandId)
|
||||
strcat(boincPath, m_BrandText);
|
||||
|
|
Loading…
Reference in New Issue