]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
And another bit missing from the settings changes: pterm's platform
authorSimon Tatham <anakin@pobox.com>
Tue, 28 Jan 2003 12:06:37 +0000 (12:06 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 28 Jan 2003 12:06:37 +0000 (12:06 +0000)
default for CloseOnExit was encoded wrongly. Hopefully this should
be everything now; I'm really starting to get sick of picking up the
pieces after my two checkins yesterday. Perhaps I should have waited
until I had a brain before doing them in the first place.

[originally from svn r2746]

unix/pterm.c

index 016ef21fc891dbe7d53efcfbf3a0efc0994e0c53..5a48dd036af61d69f84ea5beddce4daef5a547aa 100644 (file)
@@ -98,7 +98,7 @@ char *platform_default_s(const char *name)
 int platform_default_i(const char *name, int def)
 {
     if (!strcmp(name, "CloseOnExit"))
-       return FORCE_ON;               /* AUTO works badly in an xterm */
+       return 2;  /* maps to FORCE_ON after painful rearrangement :-( */
     return def;
 }