To: vim_dev@googlegroups.com Subject: Patch 9.0.0792 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0792 (after patch 9.0.0787) Problem: MS-Windows: compiler complains about unused function. Solution: Add #ifdef. (John Marriott) Files: src/os_win32.c *** ../vim-9.0.0791/src/os_win32.c 2022-10-18 13:33:22.148927173 +0100 --- src/os_win32.c 2022-10-18 21:44:47.183695602 +0100 *************** *** 1231,1237 **** } # endif ! /* * Win32 console mouse scroll event handler. * Loosely based on the _OnMouseWheel() function in gui_w32.c --- 1231,1237 ---- } # endif ! #ifdef VIMDLL /* * Win32 console mouse scroll event handler. * Loosely based on the _OnMouseWheel() function in gui_w32.c *************** *** 1324,1329 **** --- 1324,1330 ---- return; } + #endif /* * Decode a MOUSE_EVENT. If it's a valid event, return MOUSE_LEFT, *** ../vim-9.0.0791/src/version.c 2022-10-18 19:22:21.256701550 +0100 --- src/version.c 2022-10-18 21:47:16.904127534 +0100 *************** *** 697,698 **** --- 697,700 ---- { /* Add new patch number below this line */ + /**/ + 792, /**/ -- BEDEVERE: Stand by for attack!! [CUT TO enormous army forming up. Trebuchets, rows of PIKEMEN, siege towers, pennants flying, shouts of "Stand by for attack!" Traditional army build-up shots. The shouts echo across the ranks of the army. We see various groups reacting, and stirring themselves in readiness.] ARTHUR: Who are they? BEDEVERE: Oh, just some friends! "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/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///