From: simon Date: Thu, 11 Nov 2004 09:40:50 +0000 (+0000) Subject: I masked off LATTR_WRAPPED et al in do_text_internal(), but forgot X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/8af95aa3c661363485af56ce631955795ef55f42 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 --- 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);