Created
May 7, 2012 07:05
-
-
Save mattn/2626352 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 3482d151136b src/edit.c | |
--- a/src/edit.c Wed Apr 25 19:07:41 2012 +0200 | |
+++ b/src/edit.c Mon May 07 16:04:51 2012 +0900 | |
@@ -3472,10 +3472,14 @@ | |
(*mb_char2bytes)(c, buf); | |
buf[cc] = NUL; | |
ins_char_bytes(buf, cc); | |
+ AppendToRedobuff(buf); | |
} | |
else | |
#endif | |
+ { | |
ins_char(c); | |
+ AppendCharToRedobuff(c); | |
+ } | |
/* If we didn't complete finding matches we must search again. */ | |
if (ins_compl_need_restart()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment