mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* enc/trans/utf8_mac.trans: parenthesize macro arguments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e0d1e2453b
commit
113de0083e
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
Fri Feb 4 19:14:27 2011 Tanaka Akira <akr@fsij.org>
|
||||
|
||||
* enc/trans/utf8_mac.trans: parenthesize macro arguments.
|
||||
|
||||
Fri Feb 4 12:11:51 2011 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* string.c (str_utf8_nth): fixed a conditon of optimized lead
|
||||
|
|
|
@ -52,7 +52,7 @@ struct from_utf8_mac_status {
|
|||
int end;
|
||||
int len;
|
||||
};
|
||||
#define buf_length(sp) (sp->len)
|
||||
#define buf_length(sp) ((sp)->len)
|
||||
|
||||
int
|
||||
buf_bytesize(struct from_utf8_mac_status *sp)
|
||||
|
|
Loading…
Reference in a new issue