summaryrefslogtreecommitdiff
path: root/src/normal.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-17 23:10:44 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-17 23:10:44 +0000
commita83c3e0ebd573c400e50340d2b85a94e5a0b204b (patch)
tree91d67fdcdce0ba1cd6d9f86a1eb8b7ad11c5fe9f /src/normal.c
parentea0cd36bdd0cce5097a53113b626d73bd137b7ef (diff)
downloadvim-a83c3e0ebd573c400e50340d2b85a94e5a0b204b.zip
updated for version 7.0227
Diffstat (limited to 'src/normal.c')
-rw-r--r--src/normal.c6
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