mirror of https://github.com/BOINC/boinc.git
Mac SS: Minor tweak for use in debugging
svn path=/trunk/boinc/; revision=22678
This commit is contained in:
parent
70e523acbf
commit
f982df4404
|
@ -8065,3 +8065,9 @@ David 10 Nov 2010
|
|||
setup_project.py
|
||||
sched/
|
||||
sample_work_generator.cpp
|
||||
|
||||
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