Fix bug with setting window title on Unix that came in with r9214.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Aug 2011 14:55:24 +0000 (14:55 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 19 Aug 2011 14:55:24 +0000 (14:55 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@9268 cda61777-01e9-0310-a592-d414129be87e

unix/gtkwin.c

index c43c4e3..3f6f94b 100644 (file)
@@ -2968,7 +2968,7 @@ void change_settings_menuitem(GtkMenuItem *item, gpointer data)
          */
         if (strcmp(conf_get_str(oldconf, CONF_wintitle),
                   conf_get_str(newconf, CONF_wintitle)))
-            set_title(inst, conf_get_str(oldconf, CONF_wintitle));
+            set_title(inst, conf_get_str(newconf, CONF_wintitle));
        set_window_titles(inst);
 
         /*