1
0
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:
Ben Harris 1999-03-09 00:08:41 +00:00
parent c8269d4441
commit 9a54b6278f

View File

@ -1517,7 +1517,7 @@ void term_mouse (Mouse_Button b, Mouse_Action a, int x, int y) {
back->send (q, p-q);
if (p <= data+len-sizeof(sel_nl) &&
!memcmp(p, sel_nl, sizeof(sel_nl))) {
back->send ("\r", 1);
back->send ("\n", 1);
p += sizeof(sel_nl);
}
q = p;