]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - unix/pterm.c
Reinstate the textual service name in port forwarding Event Log
[PuTTY.git] / unix / pterm.c
index 23ef37fbb605dfa098fd99ae88d441b9aff214e6..b1cd7d0ff324821aedeb214c64b3251c2448be8d 100644 (file)
@@ -2163,7 +2163,7 @@ void do_cursor(Context ctx, int x, int y, wchar_t *text, int len,
            length = inst->font_height;
        }
 
-       gdk_gc_set_foreground(gc, &inst->cols[NCFGCOLOURS-1]);
+       gdk_gc_set_foreground(gc, &inst->cols[261]);
        if (passive) {
            for (i = 0; i < length; i++) {
                if (i % 2 == 0) {
@@ -2857,7 +2857,8 @@ void change_settings_menuitem(GtkMenuItem *item, gpointer data)
 
     cfg2 = inst->cfg;                  /* structure copy */
 
-    if (do_config_box(title, &cfg2, 1)) {
+    if (do_config_box(title, &cfg2, 1,
+                     inst->back?inst->back->cfg_info(inst->backhandle):0)) {
 
         oldcfg = inst->cfg;            /* structure copy */
         inst->cfg = cfg2;              /* structure copy */