Oops - check in leftovers from yesterday's development. That's what
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 16 Oct 2002 09:28:17 +0000 (09:28 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Wed, 16 Oct 2002 09:28:17 +0000 (09:28 +0000)
I get for running most of my cvs commands in the unix subdir :-/

git-svn-id: svn://svn.tartarus.org/sgt/putty@2078 cda61777-01e9-0310-a592-d414129be87e

putty.h
settings.c
terminal.c

diff --git a/putty.h b/putty.h
index c5a08b1..9d00154 100644 (file)
--- a/putty.h
+++ b/putty.h
@@ -372,6 +372,8 @@ struct config_tag {
     /* Options for pterm. Should split out into platform-dependent part. */
     int stamp_utmp;
     int login_shell;
+    int scrollbar_on_left;
+    char boldfont[64];
 };
 
 /*
index 41127b8..98847de 100644 (file)
@@ -311,6 +311,7 @@ void save_settings(char *section, int do_host, Config * cfg)
     write_setting_i(sesskey, "BugDHGEx2", cfg->sshbug_dhgex2);
     write_setting_i(sesskey, "StampUtmp", cfg->stamp_utmp);
     write_setting_i(sesskey, "LoginShell", cfg->login_shell);
+    write_setting_i(sesskey, "ScrollbarOnLeft", cfg->scrollbar_on_left);
     close_settings_w(sesskey);
 }
 
@@ -596,6 +597,7 @@ void load_settings(char *section, int do_host, Config * cfg)
     gppi(sesskey, "BugDHGEx2", BUG_AUTO, &i); cfg->sshbug_dhgex2 = i;
     gppi(sesskey, "StampUtmp", 1, &cfg->stamp_utmp);
     gppi(sesskey, "LoginShell", 1, &cfg->login_shell);
+    gppi(sesskey, "ScrollbarOnLeft", 0, &cfg->scrollbar_on_left);
 
     close_settings_r(sesskey);
 }
index de6a2e9..b0ad356 100644 (file)
@@ -1133,7 +1133,6 @@ void term_out(void)
                else
                    print_state = 0;
                if (print_state == 4) {
-                   printing = only_printing = FALSE;
                    term_print_finish();
                }
                continue;
@@ -1915,8 +1914,6 @@ void term_out(void)
                                print_state = 0;
                                term_print_setup();
                            } else if (esc_args[0] == 4 && printing) {
-                               printing = FALSE;
-                               only_printing = FALSE;
                                term_print_finish();
                            }
                        }