0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1563

Problem:    Partial test fails on windows.
Solution:   Return 1 or -1 from compare function.
This commit is contained in:
Bram Moolenaar 2016-03-15 11:05:45 +01:00
parent 9eb3bb2930
commit 790500a8e6
2 changed files with 4 additions and 2 deletions

View File

@ -9,9 +9,9 @@ func MySort(up, one, two)
return 0 return 0
endif endif
if a:up if a:up
return a:one > a:two return a:one > a:two ? 1 : -1
endif endif
return a:one < a:two return a:one < a:two ? 1 : -1
endfunc endfunc
func Test_partial_args() func Test_partial_args()

View File

@ -743,6 +743,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 */
/**/
1563,
/**/ /**/
1562, 1562,
/**/ /**/