changeset 2446:348f64c129df vim73

Fixed: CTRL-R in Insert mode doesn't insert composing characters.
author Bram Moolenaar <bram@vim.org>
date Sat, 31 Jul 2010 17:59:29 +0200
parents 04dae202d316
children 84d353762845
files runtime/doc/todo.txt src/ops.c
diffstat 2 files changed, 1 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/todo.txt
+++ b/runtime/doc/todo.txt
@@ -37,14 +37,9 @@ Windows 7: installing Vim again doesn't 
 
 Move more common code from if_python.c and if_python3.c to if_py_both.h
 
-Uninspected issues on http://scan.coverity.com/rung2.html
-
 Before release 7.3:
 - Rename vim73 branch to default (hints: Xavier de Gaye, 2010 May 23)
 
-Insert mode CTRL-R x doesn't paste combining characters. (Tony Mechelynck,
-2010 Jul 28)
-
 Cursor positioning wrong with 0x200e character. (John Becket, 2010 May 6)
 
 Test 69 breaks on MS-Windows, both 32 and 64 builds. (George Reilly, 2010 Feb
--- a/src/ops.c
+++ b/src/ops.c
@@ -1439,7 +1439,7 @@ stuffescaped(arg, literally)
 	{
 #ifdef FEAT_MBYTE
 	    if (has_mbyte)
-		c = mb_ptr2char_adv(&arg);
+		c = mb_cptr2char_adv(&arg);
 	    else
 #endif
 		c = *arg++;