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:
Simon Tatham 2004-11-11 09:40:50 +00:00
Родитель 814408f2d3
Коммит 5a9af28200
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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);