| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.933 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.4.933 (after 7.4.926) |
| Problem: Crash when using longest completion match. |
| Solution: Fix array index. |
| Files: src/ex_getln.c |
| |
| |
| |
| |
| |
| *** 3704,3710 **** |
| } |
| else |
| #endif |
| ! c0 = xp->xp_files[i][len]; |
| for (i = 1; i < xp->xp_numfiles; ++i) |
| { |
| #ifdef FEAT_MBYTE |
| --- 3704,3710 ---- |
| } |
| else |
| #endif |
| ! c0 = xp->xp_files[0][len]; |
| for (i = 1; i < xp->xp_numfiles; ++i) |
| { |
| #ifdef FEAT_MBYTE |
| |
| |
| |
| *** 743,744 **** |
| --- 743,746 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 933, |
| /**/ |
| |
| -- |
| ~ |
| ~ |
| ~ |
| ".signature" 4 lines, 50 characters written |
| |
| /// 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 /// |