mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Multiply empty lines pasted as single line, fix it
This commit is contained in:
parent
0c8834cea6
commit
807ef2d03f
1 changed files with 2 additions and 2 deletions
|
|
@ -342,8 +342,8 @@ mouse_cut(scr_stat *scp)
|
|||
blank = i; /* the first space after the last non-space */
|
||||
/* trim trailing blank when crossing lines */
|
||||
if ((p % scp->xsize) == (scp->xsize - 1)) {
|
||||
cut_buffer[blank] = '\r';
|
||||
i = blank + 1;
|
||||
cut_buffer[blank++] = '\r';
|
||||
i = blank;
|
||||
}
|
||||
}
|
||||
cut_buffer[i] = '\0';
|
||||
|
|
|
|||
Loading…
Reference in a new issue