From 790500a8e65bee295ef51a59dfa67ecbaab8ea17 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 15 Mar 2016 11:05:45 +0100 Subject: [PATCH] patch 7.4.1563 Problem: Partial test fails on windows. Solution: Return 1 or -1 from compare function. --- src/testdir/test_partial.vim | 4 ++-- src/version.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/testdir/test_partial.vim b/src/testdir/test_partial.vim index 061f83966..998b23220 100644 --- a/src/testdir/test_partial.vim +++ b/src/testdir/test_partial.vim @@ -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() diff --git a/src/version.c b/src/version.c index a323d2c0f..50d20f100 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1563, /**/ 1562, /**/ -- 2.50.1