summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2015-11-14 12:03:23 +0000
committernicm <nicm@openbsd.org>2015-11-14 12:03:23 +0000
commiteecf579e19d833b2c45a7f9fe674c60556c526cf (patch)
treea1d0952d440096b5ca85a50441928cad090bcffb
parentAll these return values from utf8_* are confusing, use an enum. (diff)
downloadwireguard-openbsd-eecf579e19d833b2c45a7f9fe674c60556c526cf.tar.xz
wireguard-openbsd-eecf579e19d833b2c45a7f9fe674c60556c526cf.zip
The private use area at U+E000 to U+F8FF is not very useful if it is
width 0, make it width 1 instead.
-rw-r--r--usr.bin/tmux/utf8.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/utf8.c b/usr.bin/tmux/utf8.c
index 52519a3d58d..7caf1a7a526 100644
--- a/usr.bin/tmux/utf8.c
+++ b/usr.bin/tmux/utf8.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utf8.c,v 1.23 2015/11/14 11:45:43 nicm Exp $ */
+/* $OpenBSD: utf8.c,v 1.24 2015/11/14 12:03:23 nicm Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -264,7 +264,7 @@ static struct utf8_width_entry utf8_width_table[] = {
{ 0x0abe5, 0x0abe5, 0, NULL, NULL },
{ 0x0abed, 0x0abed, 0, NULL, NULL },
{ 0x0f900, 0x0fa6d, 2, NULL, NULL },
- { 0x0d800, 0x0f8ff, 0, NULL, NULL },
+ { 0x0d800, 0x0dfff, 0, NULL, NULL },
{ 0x0fa70, 0x0fad9, 2, NULL, NULL },
{ 0x0fff9, 0x0fffb, 0, NULL, NULL },
{ 0x0fe30, 0x0fe52, 2, NULL, NULL },