patch 7.4.1974
Problem: GUI has a problem with some termcodes. Solution: Handle negative numbers. (Kazunobu Kuriyama)
This commit is contained in:
@ -1773,7 +1773,7 @@ gui_write(
|
|||||||
if (s[0] == ESC && s[1] == '|')
|
if (s[0] == ESC && s[1] == '|')
|
||||||
{
|
{
|
||||||
p = s + 2;
|
p = s + 2;
|
||||||
if (VIM_ISDIGIT(*p))
|
if (VIM_ISDIGIT(*p) || (*p == '-' && VIM_ISDIGIT(*(p + 1))))
|
||||||
{
|
{
|
||||||
arg1 = getdigits(&p);
|
arg1 = getdigits(&p);
|
||||||
if (p > s + len)
|
if (p > s + len)
|
||||||
|
|||||||
@ -753,6 +753,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1974,
|
||||||
/**/
|
/**/
|
||||||
1973,
|
1973,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
Reference in New Issue
Block a user