diff options
author | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-11-15 18:11:36 -1000 |
commit | 978d9cd248490cda55c924e66a407bb793aff400 (patch) | |
tree | f14836ff8440840ad821abe8fc86148ec2ea7f5c /data/vim/patches/8.1.0906 | |
parent | bbc833a503b148701c64ed5be79f298b7911e340 (diff) |
Update to vim_8.1.1948 and stop using patches
I mean... 1948...
Diffstat (limited to 'data/vim/patches/8.1.0906')
-rw-r--r-- | data/vim/patches/8.1.0906 | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/data/vim/patches/8.1.0906 b/data/vim/patches/8.1.0906 deleted file mode 100644 index 55d6112c7..000000000 --- a/data/vim/patches/8.1.0906 +++ /dev/null @@ -1,76 +0,0 @@ -To: vim_dev@googlegroups.com -Subject: Patch 8.1.0906 -Fcc: outbox -From: Bram Moolenaar <Bram@moolenaar.net> -Mime-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit ------------- - -Patch 8.1.0906 -Problem: Using clumsy way to get console window handle. -Solution: Use GetConsoleWindow(). (Ken Takata, closes #3940) -Files: src/os_mswin.c - - -*** ../vim-8.1.0905/src/os_mswin.c 2019-02-10 23:18:49.038187525 +0100 ---- src/os_mswin.c 2019-02-12 23:10:26.877686857 +0100 -*************** -*** 1043,1053 **** - static void - GetConsoleHwnd(void) - { -- # define MY_BUFSIZE 1024 // Buffer size for console window titles. -- -- char pszNewWindowTitle[MY_BUFSIZE]; // Contains fabricated WindowTitle. -- char pszOldWindowTitle[MY_BUFSIZE]; // Contains original WindowTitle. -- - /* Skip if it's already set. */ - if (s_hwnd != 0) - return; ---- 1043,1048 ---- -*************** -*** 1061,1077 **** - } - # endif - -! GetConsoleTitle(pszOldWindowTitle, MY_BUFSIZE); -! -! wsprintf(pszNewWindowTitle, "%s/%d/%d", -! pszOldWindowTitle, -! GetTickCount(), -! GetCurrentProcessId()); -! SetConsoleTitle(pszNewWindowTitle); -! Sleep(40); -! s_hwnd = FindWindow(NULL, pszNewWindowTitle); -! -! SetConsoleTitle(pszOldWindowTitle); - } - - /* ---- 1056,1062 ---- - } - # endif - -! s_hwnd = GetConsoleWindow(); - } - - /* -*** ../vim-8.1.0905/src/version.c 2019-02-12 23:05:41.743869435 +0100 ---- src/version.c 2019-02-12 23:12:04.368950837 +0100 -*************** -*** 785,786 **** ---- 785,788 ---- - { /* Add new patch number below this line */ -+ /**/ -+ 906, - /**/ - --- -A M00se once bit my sister ... - "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD - - /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ -/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ -\\\ an exciting new programming language -- http://www.Zimbu.org /// - \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |