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:
parent
9eb3bb2930
commit
790500a8e6
@ -9,9 +9,9 @@ func MySort(up, one, two)
|
||||
return 0
|
||||
endif
|
||||
if a:up
|
||||
return a:one > a:two
|
||||
return a:one > a:two ? 1 : -1
|
||||
endif
|
||||
return a:one < a:two
|
||||
return a:one < a:two ? 1 : -1
|
||||
endfunc
|
||||
|
||||
func Test_partial_args()
|
||||
|
@ -743,6 +743,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1563,
|
||||
/**/
|
||||
1562,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user