diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-04-27 00:55:56 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-04-27 00:55:56 +0000 |
commit | c9acfa8022e9bc446d1540fdd3d22ca7c520e530 (patch) | |
tree | d1c09461351b17f14cab389a05ca98a64a3e867c /chinese/libchewing | |
parent | d9df187a6f49236669f14c21878fc21d06101093 (diff) | |
download | ports-c9acfa8022e9bc446d1540fdd3d22ca7c520e530.tar.gz ports-c9acfa8022e9bc446d1540fdd3d22ca7c520e530.zip |
Notes
Diffstat (limited to 'chinese/libchewing')
-rw-r--r-- | chinese/libchewing/files/patch-src-hanyupinying.c | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/chinese/libchewing/files/patch-src-hanyupinying.c b/chinese/libchewing/files/patch-src-hanyupinying.c new file mode 100644 index 000000000000..74903153a394 --- /dev/null +++ b/chinese/libchewing/files/patch-src-hanyupinying.c @@ -0,0 +1,32 @@ +--- src/hanyupinying.c.orig Thu Apr 27 06:42:41 2006 ++++ src/hanyupinying.c Thu Apr 27 06:43:31 2006 +@@ -26,7 +26,6 @@ + + static PinYingZuinMap* InitialsMap() + { +- HANYU_INITIALS = 26; + static PinYingZuinMap map[ 26 ] = { + {"b" , "1"}, {"p" , "q"}, {"m" , "a"}, {"f" ,"z"}, + {"d" , "2"}, {"t" , "w"}, {"n" , "s"}, {"l" ,"x"}, +@@ -36,12 +35,12 @@ + {"shi", "g"}, {"sh", "g"}, {"ri", "b"}, {"r" ,"b"}, + {"z" , "y"}, {"c" , "h"}, {"s" , "n"} + }; ++ HANYU_INITIALS = 26; + return map; + } + + static PinYingZuinMap* FinalsMap() + { +- HANYU_FINALS = 72; + static PinYingZuinMap map[ 72 ] = { + {"uang","j;"}, {"wang","j;"}, + {"wong","j/"}, {"weng","j/"}, +@@ -92,6 +91,7 @@ + {"u","j"}, + {"E",","} + }; ++ HANYU_FINALS = 72; + return map; + } + |