diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-01 15:48:05 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-01 15:48:05 +0200 |
commit | 4a6c670b844a3ef9aec865a8216eaf363bab8721 (patch) | |
tree | 0a4d60f8efe9b765678c76ef614dc84c815d1220 | |
parent | 4c5717ed8a81f5ae9dfe4f38b17a61fc8421054b (diff) |
patch 7.4.1974v7.4.1974
Problem: GUI has a problem with some termcodes.
Solution: Handle negative numbers. (Kazunobu Kuriyama)
-rw-r--r-- | src/gui.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1773,7 +1773,7 @@ gui_write( if (s[0] == ESC && s[1] == '|') { p = s + 2; - if (VIM_ISDIGIT(*p)) + if (VIM_ISDIGIT(*p) || (*p == '-' && VIM_ISDIGIT(*(p + 1)))) { arg1 = getdigits(&p); if (p > s + len) diff --git a/src/version.c b/src/version.c index 1e8e63565f..5ef04d0b23 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1974, +/**/ 1973, /**/ 1972, |