diff options
| author | Jeong Mok Cho | 2013-04-11 17:34:08 +0900 |
|---|---|---|
| committer | Adam Vandenberg | 2013-04-14 11:52:49 -0700 |
| commit | f506cb81fb2843d851d44b2d0b95931776dae95d (patch) | |
| tree | a0c48a6ca40a7327e23a06f133ea7b45063df3a3 /Library | |
| parent | d5d40710fb2f38b8b49c0235b4beb6b0f552886a (diff) | |
| download | homebrew-f506cb81fb2843d851d44b2d0b95931776dae95d.tar.bz2 | |
tmux: Korean letter patch
Closes #19123.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/tmux.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb index 9ee272871..6cf36c9ed 100644 --- a/Library/Formula/tmux.rb +++ b/Library/Formula/tmux.rb @@ -18,6 +18,10 @@ class Tmux < Formula def patches # Fixes installation failure on Snow Leopard # http://sourceforge.net/mailarchive/forum.php?thread_name=CAJfQvvc2QDU%3DtXWb-sc-NK0J8cgnDRMDod6CNKO1uYqu%3DY5CXg%40mail.gmail.com&forum_name=tmux-users + # http://sourceforge.net/p/tmux/tickets/41/ + # Fixes abnormal displaying Korean letters on Mac OS X + # https://gist.github.com/niceview/5343842 + # Accepted upstream, can be removedin next version. DATA end @@ -64,3 +68,17 @@ index 23de9d5..b5efe84 100644 + return (strdup(bsdinfo.pbi_comm)); return (NULL); } + +diff --git a/utf8.c b/utf8.c +index 88d847a..34e5087 100644 +--- a/utf8.c ++++ b/utf8.c +@@ -173,7 +173,7 @@ struct utf8_width_entry utf8_width_table[] = { + { 0x30000, 0x3fffd, 2, NULL, NULL }, + { 0x00711, 0x00711, 0, NULL, NULL }, + { 0x0fe00, 0x0fe0f, 0, NULL, NULL }, +- { 0x01160, 0x011ff, 0, NULL, NULL }, ++ { 0x01160, 0x011ff, 1, NULL, NULL }, + { 0x0180b, 0x0180d, 0, NULL, NULL }, + { 0x10a3f, 0x10a3f, 0, NULL, NULL }, + { 0x00981, 0x00981, 0, NULL, NULL }, |
