diff --git a/clientgui/DlgAdvPreferences.cpp b/clientgui/DlgAdvPreferences.cpp index 8fd9e134e8..7b06746623 100644 --- a/clientgui/DlgAdvPreferences.cpp +++ b/clientgui/DlgAdvPreferences.cpp @@ -254,7 +254,7 @@ void CDlgAdvPreferences::ReadPreferenceSettings() { buffer.Printf(wxT("%.2f"),prefs.cpu_scheduling_period_minutes); *m_txtProcSwitchEvery << buffer; // max cpus - buffer.Printf(wxT("%.2f"),prefs.max_ncpus_pct); + buffer.Printf(wxT("%.2f"), prefs.max_ncpus_pct < 0.1 ? 100.0 : prefs.max_ncpus_pct); *m_txtProcUseProcessors << buffer; //cpu limit buffer.Printf(wxT("%.2f"),prefs.cpu_usage_limit);