To: vim-dev@vim.org Subject: Patch 6.1.335 (extra) Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.335 (extra) Problem: Failure of obtaining the cursor position and window size is ignored. Solution: Remove a semicolon after an "if". (Walter Briscoe) Files: src/gui_w32.c *** ../vim61.334/src/gui_w32.c Sun Feb 16 22:32:03 2003 --- src/gui_w32.c Sun Feb 9 19:39:39 2003 *************** *** 2783,2789 **** POINT mp; RECT rect; ! if (GetCursorPos(&mp) && GetWindowRect(hwnd, &rect)); { (void)TrackPopupMenu( (HMENU)(LOWORD(wParam) ^ 0x8000), --- 2783,2789 ---- POINT mp; RECT rect; ! if (GetCursorPos(&mp) && GetWindowRect(hwnd, &rect)) { (void)TrackPopupMenu( (HMENU)(LOWORD(wParam) ^ 0x8000), *** ../vim61.334/src/version.c Sun Feb 16 22:32:03 2003 --- src/version.c Sun Feb 16 22:44:35 2003 *************** *** 608,609 **** --- 612,615 ---- { /* Add new patch number below this line */ + /**/ + 335, /**/ -- We're knights of the round table We dance whene'er we're able We do routines and chorus scenes With footwork impeccable. We dine well here in Camelot We eat ham and jam and spam a lot. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///