diff --git a/checkin_notes b/checkin_notes index 63b9b7fca8..0b34a32ede 100644 --- a/checkin_notes +++ b/checkin_notes @@ -1217,3 +1217,9 @@ Rom Feb 5 2008 clientgui/ MainDocument.cpp + +David Feb 5 2008 + - client: fix compile warning + + lib/ + msg_log.h diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index a1be0be679..87fc5c9332 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -317,8 +317,8 @@ bool CDlgAdvPreferences::SavePreferencesSettings() { mask.run_if_user_active=true; // if(m_txtProcIdleFor->IsEnabled()) { - m_txtProcIdleFor->GetValue().ToLong(&tl); - prefs.idle_time_to_run=tl; + m_txtProcIdleFor->GetValue().ToLong(&td); + prefs.idle_time_to_run=td; mask.idle_time_to_run=true; } // diff --git a/lib/msg_log.h b/lib/msg_log.h index 87d4db2b23..6f0038e2af 100644 --- a/lib/msg_log.h +++ b/lib/msg_log.h @@ -47,6 +47,8 @@ public: int pid; MSG_LOG(FILE* output); + virtual ~MSG_LOG(){} + void enter_level(int = 1); void leave_level() { enter_level(-1); } MSG_LOG& operator++() { enter_level(); return *this; }