mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 09:58:01 +00:00
Tiny \n/\r fix in term_mouse.
[originally from svn r80]
This commit is contained in:
parent
c8269d4441
commit
9a54b6278f
@ -1517,7 +1517,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
|
|||||||
back->send (q, p-q);
|
back->send (q, p-q);
|
||||||
if (p <= data+len-sizeof(sel_nl) &&
|
if (p <= data+len-sizeof(sel_nl) &&
|
||||||
!memcmp(p, sel_nl, sizeof(sel_nl))) {
|
!memcmp(p, sel_nl, sizeof(sel_nl))) {
|
||||||
back->send ("\r", 1);
|
back->send ("\n", 1);
|
||||||
p += sizeof(sel_nl);
|
p += sizeof(sel_nl);
|
||||||
}
|
}
|
||||||
q = p;
|
q = p;
|
||||||
|
Loading…
Reference in New Issue
Block a user