commit | a83c3e0ebd573c400e50340d2b85a94e5a0b204b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Mar 17 23:10:44 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Mar 17 23:10:44 2006 +0000 |
tree | 91d67fdcdce0ba1cd6d9f86a1eb8b7ad11c5fe9f | |
parent | ea0cd36bdd0cce5097a53113b626d73bd137b7ef [diff] [blame] |
updated for version 7.0227
diff --git a/src/normal.c b/src/normal.c index aae515c..3a336d5 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -7880,9 +7880,13 @@ /* * "g8": Display the bytes used for the UTF-8 character under the * cursor. It is displayed in hex. + * "8g8" finds illegal byte sequence. */ case '8': - show_utf8(); + if (cap->count0 == 8) + utf_find_illegal(); + else + show_utf8(); break; #endif