And another bit missing from the settings changes: pterm's platform
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 28 Jan 2003 12:06:37 +0000 (12:06 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
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.

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

unix/pterm.c

index 016ef21..5a48dd0 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;
 }