diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-13 10:23:01 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 2001-03-13 10:23:01 +0000 |
| commit | 807ef2d03f049e99c96ec15eb432e07b10469044 (patch) | |
| tree | 30b69394b396cdf48abe6eb2ee1dd8593ff2c965 | |
| parent | 0c8834cea6026ca8a66593efd72aada02969fea8 (diff) | |
Notes
| -rw-r--r-- | sys/dev/syscons/scmouse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/syscons/scmouse.c b/sys/dev/syscons/scmouse.c index dd1e2c5713fa..6e8f0a541d28 100644 --- a/sys/dev/syscons/scmouse.c +++ b/sys/dev/syscons/scmouse.c @@ -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'; |
