comparison src/option.c @ 9869:989d44d35a66 v7.4.2209

commit https://github.com/vim/vim/commit/35a4cfa200917dd171b1fff3cd5b6cee9add673d Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 14 16:07:48 2016 +0200 patch 7.4.2209 Problem: Cannot map <M-">. (Stephen Riehm) Solution: Solve the memory access problem in another way. (Dominique Pelle) Allow for using <M-\"> in a string.
author Christian Brabandt <cb@256bit.org>
date Sun, 14 Aug 2016 16:15:06 +0200
parents 3e96d9ed2ca1
children 7da89d9c744b
comparison
equal deleted inserted replaced
9868:f10f5819f3e6 9869:989d44d35a66
9476 key = TERMCAP2KEY(arg[2], arg[3]); 9476 key = TERMCAP2KEY(arg[2], arg[3]);
9477 else 9477 else
9478 { 9478 {
9479 --arg; /* put arg at the '<' */ 9479 --arg; /* put arg at the '<' */
9480 modifiers = 0; 9480 modifiers = 0;
9481 key = find_special_key(&arg, &modifiers, TRUE, TRUE); 9481 key = find_special_key(&arg, &modifiers, TRUE, TRUE, FALSE);
9482 if (modifiers) /* can't handle modifiers here */ 9482 if (modifiers) /* can't handle modifiers here */
9483 key = 0; 9483 key = 0;
9484 } 9484 }
9485 return key; 9485 return key;
9486 } 9486 }