diff --git a/checkin_notes b/checkin_notes
index 32e702516a..364f8c00f0 100755
--- a/checkin_notes
+++ b/checkin_notes
@@ -10604,3 +10604,10 @@ Kevin 29 Sept 2006
sg_BoincSimpleGUI.cpp
sg_DlgMessages.cpp
sg_DlgPreferences.cpp
+
+David 29 Sept 2006
+ - include cpu_usage_limit in prefs XML
+ (in get_state GUI RPC reply, and in app init file)
+
+ lib/
+ prefs.C
diff --git a/lib/prefs.C b/lib/prefs.C
index 3a53295fe3..71aadce0a9 100644
--- a/lib/prefs.C
+++ b/lib/prefs.C
@@ -232,7 +232,9 @@ int GLOBAL_PREFS::parse_file(
return retval;
}
-// this is used only to write the app init data file
+// this is used to write
+// 1) the app init data file
+// 2) GUI RPC get_state reply
//
int GLOBAL_PREFS::write(MIOFILE& f) {
f.printf(
@@ -255,6 +257,7 @@ int GLOBAL_PREFS::write(MIOFILE& f) {
" %f\n"
" %f\n"
" %f\n"
+ " %f\n"
"\n",
mod_time,
run_on_batteries?" \n":"",
@@ -277,7 +280,8 @@ int GLOBAL_PREFS::write(MIOFILE& f) {
vm_max_used_pct,
idle_time_to_run,
max_bytes_sec_up,
- max_bytes_sec_down
+ max_bytes_sec_down,
+ cpu_usage_limit
);
return 0;
}