commit | 15d0a8c77dad867b69822e2fd8f9f6bbcf765c48 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Sep 06 17:44:46 2004 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Sep 06 17:44:46 2004 +0000 |
tree | e84faedc007f9c2b81b9056a400dccade2b947e5 | |
parent | d4755bb0e04fca334675f1503bd6474b017a9bba [diff] [blame] |
updated for version 7.0015
diff --git a/src/gui_w48.c b/src/gui_w48.c index 761c1af..7b8d8de 100644 --- a/src/gui_w48.c +++ b/src/gui_w48.c
@@ -3376,6 +3376,16 @@ { if (pnew != NULL) *pnew++ = *p; +#ifdef FEAT_MBYTE + /* Can't use mb_* functions, because 'encoding' is not + * initialized yet here. */ + if (IsDBCSLeadByte(*p)) + { + ++p; + if (pnew != NULL) + *pnew++ = *p; + } +#endif ++p; } }