From 18dfbff5896c2aa97e4b9a6db9d21c31c5f264e2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 6 Feb 2008 04:39:14 +0000 Subject: [PATCH] - win fix svn path=/trunk/boinc/; revision=14689 --- clientgui/DlgAdvPreferences.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 87fc5c9332..5e19dc6037 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -317,7 +317,7 @@ bool CDlgAdvPreferences::SavePreferencesSettings() { mask.run_if_user_active=true; // if(m_txtProcIdleFor->IsEnabled()) { - m_txtProcIdleFor->GetValue().ToLong(&td); + m_txtProcIdleFor->GetValue().ToDouble(&td); prefs.idle_time_to_run=td; mask.idle_time_to_run=true; }