changeset 16247:de86c7db29db v8.1.1128

patch 8.1.1128: getwinpos() test does not work on MS-Windows commit https://github.com/vim/vim/commit/94a7242ad1c41cc2a5377535f81d29a5b374b983 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 6 20:40:35 2019 +0200 patch 8.1.1128: getwinpos() test does not work on MS-Windows Problem: getwinpos() test does not work on MS-Windows. Solution: Skip the test.
author Bram Moolenaar <Bram@vim.org>
date Sat, 06 Apr 2019 20:45:03 +0200
parents 94ba74d9ee1b
children 498933e34fec
files src/testdir/test_terminal.vim src/version.c
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/testdir/test_terminal.vim
+++ b/src/testdir/test_terminal.vim
@@ -1889,8 +1889,9 @@ func Test_terminal_statusline()
 endfunc
 
 func Test_terminal_getwinpos()
-  " does not work in the MS-Windows console
-  if has('win32') && !has('gui')
+  " getwinpos() does not work in the MS-Windows console, and the GUI runs the
+  " console version in the terminal window.
+  if has('win32')
     return
   endif
 
--- a/src/version.c
+++ b/src/version.c
@@ -772,6 +772,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1128,
+/**/
     1127,
 /**/
     1126,