From: Bram Moolenaar Date: Tue, 15 Mar 2016 10:05:45 +0000 (+0100) Subject: patch 7.4.1563 X-Git-Tag: v7.4.1563 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=790500a8e65bee295ef51a59dfa67ecbaab8ea17;p=vim patch 7.4.1563 Problem: Partial test fails on windows. Solution: Return 1 or -1 from compare function. --- 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, /**/