1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2008-04-22 11:54:50 +00:00
parent 80467678dd
commit 17123b2958
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Tue Apr 22 20:51:58 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c (z_conv): characters must be nkf_char.
Tue Apr 22 19:23:05 2008 Akinori MUSHA <knu@iDaemons.org>
* enumerator.c (enumerator_initialize): Remove an undocumented

View file

@ -3390,7 +3390,7 @@ void z_conv(nkf_char c2, nkf_char c1)
if (alpha_f & 16) {
/* JIS X 0208 Katakana to JIS X 0201 Katakana */
if (c2 == 0x21) {
char c = 0;
nkf_char c = 0;
switch (c1) {
case 0x23:
/* U+3002 (0x8142) Ideographic Full Stop -> U+FF61 (0xA1) Halfwidth Ideographic Full Stop */