From 8af95aa3c661363485af56ce631955795ef55f42 Mon Sep 17 00:00:00 2001 From: simon Date: Thu, 11 Nov 2004 09:40:50 +0000 Subject: [PATCH] I masked off LATTR_WRAPPED et al in do_text_internal(), but forgot to do the same in do_cursor(). Bet that's the cause of Andrey Borzenkov's cursor positioning bug. git-svn-id: svn://svn.tartarus.org/sgt/putty@4770 cda61777-01e9-0310-a592-d414129be87e --- window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/window.c b/window.c index c2d7575c..ccebea77 100644 --- a/window.c +++ b/window.c @@ -3222,6 +3222,8 @@ void do_cursor(Context ctx, int x, int y, wchar_t *text, int len, HDC hdc = ctx; int ctype = cfg.cursor_type; + lattr &= LATTR_MODE; + if ((attr & TATTR_ACTCURS) && (ctype == 0 || term->big_cursor)) { if (*text != UCSWIDE) { do_text(ctx, x, y, text, len, attr, lattr); -- 2.11.0