- client: handle no_cpu, no_cuda, no_ati prefs correctly

when they're in venue-specific prefs.

svn path=/trunk/boinc/; revision=19537
This commit is contained in:
David Anderson 2009-11-11 00:36:07 +00:00
parent a02630589c
commit b3536b414f
2 changed files with 10 additions and 0 deletions

View File

@ -9052,3 +9052,10 @@ David 10 Nov 2009
client/
app_control.cpp
David 10 Nov 2009
- client: handle no_cpu, no_cuda, no_ati prefs correctly
when they're in venue-specific prefs.
client/
cs_account.cpp

View File

@ -176,6 +176,9 @@ int PROJECT::parse_account_file_venue() {
if (!strcmp(venue, host_venue)) {
using_venue_specific_prefs = true;
in_right_venue = true;
no_cpu_pref = false; // reset these
no_cuda_pref = false;
no_ati_pref = false;
} else {
std::string devnull;
retval = copy_element_contents(in, "</venue>", devnull);