mirror of https://github.com/BOINC/boinc.git
Fix SG preferences "Do work only between" and "Connect only between"
svn path=/trunk/boinc/; revision=14133
This commit is contained in:
parent
bf227ea8b1
commit
9214583c37
|
@ -10710,3 +10710,11 @@ David 9 Nov 2007
|
|||
forum_text_search_form.php (deleted)
|
||||
team_manage.php
|
||||
user_search.php
|
||||
|
||||
Charlie 9 Nov 2007
|
||||
Mgr SG: Fix SG preferences bug: save "Do work only between" and
|
||||
"Connect only between" as doubles, not longs so they work
|
||||
properly.
|
||||
|
||||
clientgui/
|
||||
sg_DlgPreferences.cpp
|
||||
|
|
|
@ -924,8 +924,8 @@ bool CPanelPreferences::SavePreferenceSettings() {
|
|||
global_preferences_working.cpu_times.start_hour = 0;
|
||||
global_preferences_working.cpu_times.end_hour = 0;
|
||||
} else {
|
||||
m_strWorkBetweenBegin.ToLong((long*)&global_preferences_working.cpu_times.start_hour);
|
||||
m_strWorkBetweenEnd.ToLong((long*)&global_preferences_working.cpu_times.end_hour);
|
||||
m_strWorkBetweenBegin.ToDouble(&global_preferences_working.cpu_times.start_hour);
|
||||
m_strWorkBetweenEnd.ToDouble(&global_preferences_working.cpu_times.end_hour);
|
||||
}
|
||||
global_preferences_override_mask.start_hour = true;
|
||||
global_preferences_override_mask.end_hour = true;
|
||||
|
@ -935,8 +935,8 @@ bool CPanelPreferences::SavePreferenceSettings() {
|
|||
global_preferences_working.net_times.start_hour = 0;
|
||||
global_preferences_working.net_times.end_hour = 0;
|
||||
} else {
|
||||
m_strConnectBetweenBegin.ToLong((long*)&global_preferences_working.net_times.start_hour);
|
||||
m_strConnectBetweenEnd.ToLong((long*)&global_preferences_working.net_times.end_hour);
|
||||
m_strConnectBetweenBegin.ToDouble(&global_preferences_working.net_times.start_hour);
|
||||
m_strConnectBetweenEnd.ToDouble(&global_preferences_working.net_times.end_hour);
|
||||
}
|
||||
global_preferences_override_mask.net_start_hour = true;
|
||||
global_preferences_override_mask.net_end_hour = true;
|
||||
|
|
Loading…
Reference in New Issue