To: vim_dev@googlegroups.com Subject: Patch 8.2.4461 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.4461 Problem: MS-Windows: garbage characters on stdout with VIMDLL. Solution: Don't call gui_focus_change() when about to quit. (Ken Takata, closes #9840) Files: src/gui_w32.c *** ../vim-8.2.4460/src/gui_w32.c 2022-02-03 14:32:30.046051998 +0000 --- src/gui_w32.c 2022-02-24 11:35:15.163845700 +0000 *************** *** 2899,2904 **** --- 2899,2906 ---- HWND hwnd, HWND hwndNewFocus) { + if (destroying) + return; gui_focus_change(FALSE); s_getting_focus = FALSE; (void)DefWindowProcW(hwnd, WM_KILLFOCUS, (WPARAM)hwndNewFocus, 0); *** ../vim-8.2.4460/src/version.c 2022-02-23 22:11:58.778087741 +0000 --- src/version.c 2022-02-24 11:36:46.368255761 +0000 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 4461, /**/ -- I AM THANKFUL... ...for all the complaining I hear about the government because it means we have freedom of speech. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///