--- tsclient-0.150/src/rdpfile.c 2008-07-26 18:53:12.000000000 +0200 +++ tsclient-0.150.new/src/rdpfile.c 2008-07-26 18:58:12.000000000 +0200 @@ -716,7 +716,7 @@ rdp->diskmapping = 0; widget = lookup_widget (main_window, "chkBitmapCache"); - if (!gtk_toggle_button_get_active ((GtkToggleButton*)widget)) + if (gtk_toggle_button_get_active ((GtkToggleButton*)widget)) rdp->bitmapcachepersistenable = 1; else rdp->bitmapcachepersistenable = 0; --- tsclient-0.150/src/support.c 2008-07-26 18:53:12.000000000 +0200 +++ tsclient-0.150.new/src/support.c 2008-07-26 18:58:45.000000000 +0200 @@ -480,7 +480,7 @@ } if (rdp->bitmapcachepersistenable == 1) { - sprintf(buffer, "-b"); + sprintf(buffer, "-P"); c_argv[c_argc++] = g_strdup (buffer); }