зеркало из https://github.com/github/putty.git
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. [originally from svn r4770]
This commit is contained in:
Родитель
814408f2d3
Коммит
5a9af28200
2
window.c
2
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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче