Port David's crash fix of 12 Sept

svn path=/trunk/boinc_samples/; revision=13665
This commit is contained in:
Charlie Fenton 2007-09-26 02:28:07 +00:00
parent 1983c90952
commit 1aeb59ddac
1 changed files with 1 additions and 0 deletions

View File

@ -232,6 +232,7 @@ static void parse_project_prefs(char* buf) {
char cs[256];
COLOR c;
double hue;
if (!buf) return;
if (parse_str(buf, "<color_scheme>", cs, 256)) {
if (!strcmp(cs, "Tahiti Sunset")) {
hue = .9;