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

* enc/emacs_mule.c (emacsmule_islead): 7bit range is also leading

byte.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2011-01-30 06:13:25 +00:00
parent 46142e472f
commit b4be48e88d
3 changed files with 23 additions and 12 deletions

View file

@ -30,7 +30,7 @@
#include "regint.h"
#define emacsmule_islead(c) ((UChar )((c) - 0x81) < 0x9e - 0x81)
#define emacsmule_islead(c) ((UChar )(c) < 0x9e)
/*
CHARACTER := ASCII_CHAR | MULTIBYTE_CHAR