Bug fix from Robert de Bath: if the utf8_override setting is changed
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Apr 2012 14:22:08 +0000 (14:22 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sun, 22 Apr 2012 14:22:08 +0000 (14:22 +0000)
in mid-session, it affects translation and hence display, so it should
be listed among the settings that require a redraw.

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

unix/gtkwin.c

index 4b8a8dd..616a69a 100644 (file)
@@ -2989,6 +2989,8 @@ void change_settings_menuitem(GtkMenuItem *item, gpointer data)
                   conf_get_fontspec(newconf, CONF_wideboldfont)->name) ||
            strcmp(conf_get_str(oldconf, CONF_line_codepage),
                   conf_get_str(newconf, CONF_line_codepage)) ||
+           conf_get_int(oldconf, CONF_utf8_override) !=
+           conf_get_int(newconf, CONF_utf8_override) ||
            conf_get_int(oldconf, CONF_vtmode) !=
            conf_get_int(newconf, CONF_vtmode) ||
            conf_get_int(oldconf, CONF_shadowbold) !=