From bc3fc49a79cc7e218414d293e0ead37a833309e3 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Fri, 17 Jun 2011 11:04:55 +0000 Subject: [PATCH] MGR: Fix project list identification of CUDA, ATI, and MT support svn path=/trunk/boinc/; revision=23743 --- checkin_notes | 7 +++++++ clientgui/ProjectInfoPage.cpp | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/checkin_notes b/checkin_notes index 9205b29f24..4ac329ee8a 100644 --- a/checkin_notes +++ b/checkin_notes @@ -3584,3 +3584,10 @@ David 16 Jun 2011 client/ app.cpp,h app_control.cpp + +Charlie 17 Jun 2011 + - MGR: Fix project list identification of CUDA, ATI, and MT support (check + for "['cuda" not "[cuda". "['ati" not "[ati" and "['mt" not "[mt".) + + clientgui/ + ProjectInfoPage.cpp diff --git a/clientgui/ProjectInfoPage.cpp b/clientgui/ProjectInfoPage.cpp index 89544e8b0f..bebaff9bac 100644 --- a/clientgui/ProjectInfoPage.cpp +++ b/clientgui/ProjectInfoPage.cpp @@ -699,21 +699,21 @@ void CProjectInfoPage::OnPageChanged( wxWizardExEvent& event ) { } } - if (strProjectPlatform.Find(_T("[cuda")) != wxNOT_FOUND) { + if (strProjectPlatform.Find(_T("['cuda")) != wxNOT_FOUND) { pProjectInfo->m_bProjectSupportsNvidiaGPU = true; if ((pDoc->state.have_cuda) && (strClientPlatform == strRootProjectPlatform)) { pProjectInfo->m_bSupportedPlatformFound = true; } } - if (strProjectPlatform.Find(_T("[ati")) != wxNOT_FOUND) { + if (strProjectPlatform.Find(_T("['ati")) != wxNOT_FOUND) { pProjectInfo->m_bProjectSupportsATIGPU = true; if ((pDoc->state.have_ati) && (strClientPlatform == strRootProjectPlatform)) { pProjectInfo->m_bSupportedPlatformFound = true; } } - if (strProjectPlatform.Find(_T("[mt")) != wxNOT_FOUND) { + if (strProjectPlatform.Find(_T("['mt")) != wxNOT_FOUND) { pProjectInfo->m_bProjectSupportsMulticore = true; if ((pDoc->host.p_ncpus >= 4) && (strClientPlatform == strRootProjectPlatform)) { pProjectInfo->m_bSupportedPlatformFound = true;