diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-03-17 23:10:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-03-17 23:10:44 +0000 |
commit | a83c3e0ebd573c400e50340d2b85a94e5a0b204b (patch) | |
tree | 91d67fdcdce0ba1cd6d9f86a1eb8b7ad11c5fe9f /src/normal.c | |
parent | ea0cd36bdd0cce5097a53113b626d73bd137b7ef (diff) | |
download | vim-a83c3e0ebd573c400e50340d2b85a94e5a0b204b.zip |
updated for version 7.0227
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/normal.c b/src/normal.c index aae515ca5..3a336d5e1 100644 --- a/src/normal.c +++ b/src/normal.c @@ -7880,9 +7880,13 @@ nv_g_cmd(cap) /* * "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 |