fixed "time of day" suspension check (was parsing XML incorrectly)

svn path=/trunk/boinc/; revision=1310
This commit is contained in:
Tim Lan 2003-06-05 21:38:46 +00:00
parent ec6be7a9f6
commit 12ad333ee2
2 changed files with 6 additions and 3 deletions

View File

@ -4488,7 +4488,10 @@ Tim June 5, 2003
- Windiws GUI enhancement - Windiws GUI enhancement
fixed "uploading" "downloading" problem fixed "uploading" "downloading" problem
fixed minor problem with updateGUI fixed minor problem with updateGUI
- bug fix
fixed "time of day" suspension check (was parsing XML incorrectly)
client/ client/
client_state.c client_state.c
prefs.c
wingui_mainwindow.cpp wingui_mainwindow.cpp

View File

@ -103,9 +103,9 @@ int GLOBAL_PREFS::parse(FILE* in, char* host_venue) {
} else if (match_tag(buf, "<run_if_user_active/>")) { } else if (match_tag(buf, "<run_if_user_active/>")) {
run_if_user_active = true; run_if_user_active = true;
continue; continue;
} else if (parse_int(buf, "<start_hour/>", start_hour)) { } else if (parse_int(buf, "<start_hour>", start_hour)) {
continue; continue;
} else if (parse_int(buf, "<end_hour/>", end_hour)) { } else if (parse_int(buf, "<end_hour>", end_hour)) {
continue; continue;
} else if (match_tag(buf, "<confirm_before_connecting/>")) { } else if (match_tag(buf, "<confirm_before_connecting/>")) {
confirm_before_connecting = true; confirm_before_connecting = true;