mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 8.2.2546: typo in mouse key name
Problem: Typo in mouse key name. Solution: Fix the typo. (issue #4725)
This commit is contained in:
12
src/misc2.c
12
src/misc2.c
@@ -1872,9 +1872,10 @@ vim_strnicmp(char *s1, char *s2, size_t len)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Version of strchr() and strrchr() that handle unsigned char strings
|
* Search for first occurrence of "c" in "string".
|
||||||
* with characters from 128 to 255 correctly. It also doesn't return a
|
* Version of strchr() that handles unsigned char strings with characters from
|
||||||
* pointer to the NUL at the end of the string.
|
* 128 to 255 correctly. It also doesn't return a pointer to the NUL at the
|
||||||
|
* end of the string.
|
||||||
*/
|
*/
|
||||||
char_u *
|
char_u *
|
||||||
vim_strchr(char_u *string, int c)
|
vim_strchr(char_u *string, int c)
|
||||||
@@ -1949,6 +1950,9 @@ vim_strbyte(char_u *string, int c)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Search for last occurrence of "c" in "string".
|
* Search for last occurrence of "c" in "string".
|
||||||
|
* Version of strrchr() that handles unsigned char strings with characters from
|
||||||
|
* 128 to 255 correctly. It also doesn't return a pointer to the NUL at the
|
||||||
|
* end of the string.
|
||||||
* Return NULL if not found.
|
* Return NULL if not found.
|
||||||
* Does not handle multi-byte char for "c"!
|
* Does not handle multi-byte char for "c"!
|
||||||
*/
|
*/
|
||||||
@@ -2497,7 +2501,7 @@ static struct key_name_entry
|
|||||||
{K_URXVT_MOUSE, (char_u *)"UrxvtMouse"},
|
{K_URXVT_MOUSE, (char_u *)"UrxvtMouse"},
|
||||||
#endif
|
#endif
|
||||||
{K_SGR_MOUSE, (char_u *)"SgrMouse"},
|
{K_SGR_MOUSE, (char_u *)"SgrMouse"},
|
||||||
{K_SGR_MOUSERELEASE, (char_u *)"SgrMouseRelelase"},
|
{K_SGR_MOUSERELEASE, (char_u *)"SgrMouseRelease"},
|
||||||
{K_LEFTMOUSE, (char_u *)"LeftMouse"},
|
{K_LEFTMOUSE, (char_u *)"LeftMouse"},
|
||||||
{K_LEFTMOUSE_NM, (char_u *)"LeftMouseNM"},
|
{K_LEFTMOUSE_NM, (char_u *)"LeftMouseNM"},
|
||||||
{K_LEFTDRAG, (char_u *)"LeftDrag"},
|
{K_LEFTDRAG, (char_u *)"LeftDrag"},
|
||||||
|
@@ -750,6 +750,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 */
|
||||||
|
/**/
|
||||||
|
2546,
|
||||||
/**/
|
/**/
|
||||||
2545,
|
2545,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user