X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=unix%2Fpterm.c;h=54ab31d8a4e71fc0a643c29f9fc7cb5ed376a946;hb=ac61490a5b9f40a3655d363d5a1014112aae7222;hp=23ef37fbb605dfa098fd99ae88d441b9aff214e6;hpb=b3b70d749f51f7b9661fb1d70df134dc2867a18a;p=PuTTY.git diff --git a/unix/pterm.c b/unix/pterm.c index 23ef37fb..54ab31d8 100644 --- a/unix/pterm.c +++ b/unix/pterm.c @@ -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) {