diff --git a/checkin_notes b/checkin_notes index ad1fccbd3f..1e1ddb6292 100644 --- a/checkin_notes +++ b/checkin_notes @@ -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 diff --git a/clientscr/mac_saver_module.cpp b/clientscr/mac_saver_module.cpp index 117bad806e..0f7753cd70 100644 --- a/clientscr/mac_saver_module.cpp +++ b/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);