]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Fix bug with setting window title on Unix that came in with r9214.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 19 Aug 2011 14:55:24 +0000 (14:55 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Fri, 19 Aug 2011 14:55:24 +0000 (14:55 +0000)
[originally from svn r9268]
[r9214 == a1f3b7a358adaa7c2a98359cd0373aa823eeb14b]

unix/gtkwin.c

index c43c4e3a2c2b4ef3ba9e3d5fafcc922e27e29da9..3f6f94beb50857acd3efd2422e2473bb13808c6b 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);
 
         /*