зеркало из https://github.com/github/ruby.git
euc_jp.c: fix compile error
* enc/euc_jp.c (mbc_case_fold): no longer use get_lower_case result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
3dced3087f
Коммит
ec0793e437
|
@ -382,7 +382,7 @@ mbc_case_fold(OnigCaseFoldType flag,
|
|||
|
||||
len = mbc_enc_len(p, end, enc);
|
||||
if (len <= 0) return 1;
|
||||
code = get_lower_case(mbc_to_code(p, end, enc));
|
||||
get_lower_case(mbc_to_code(p, end, enc));
|
||||
/* assuming case folding in euc-jp doesn't change length */
|
||||
(*pp) += len;
|
||||
return len; /* return byte length of converted char to lower */
|
||||
|
|
Загрузка…
Ссылка в новой задаче