mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
1.1b9_31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
35c6e6af5b
commit
c30c3bffe4
18 changed files with 1032 additions and 214 deletions
|
@ -612,9 +612,6 @@ fmt_setup(buf, c, flags, width, prec)
|
|||
int flags, width, prec;
|
||||
{
|
||||
*buf++ = '%';
|
||||
if (strchr("doOXx", c)) {
|
||||
*buf++ = 'l';
|
||||
}
|
||||
if (flags & FSHARP) *buf++ = '#';
|
||||
if (flags & FPLUS) *buf++ = '+';
|
||||
if (flags & FMINUS) *buf++ = '-';
|
||||
|
@ -630,6 +627,9 @@ fmt_setup(buf, c, flags, width, prec)
|
|||
buf += strlen(buf);
|
||||
}
|
||||
|
||||
if (strchr("doOXx", c)) {
|
||||
*buf++ = 'l';
|
||||
}
|
||||
*buf++ = c;
|
||||
*buf = '\0';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue