diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 15:37:22 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-18 15:37:22 +0000 |
commit | 2a11c7f62a021a3fd6f991182e2ed30642a5c854 (patch) | |
tree | 195f369ae27cb705f217aca04b2895e2ef18adff /sprintf.c | |
parent | caa539f2a358ed0ccac6e4bdcccc2bb4b59e307f (diff) |
* sprintf.c (rb_str_format): set result encoding for wider width.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'sprintf.c')
-rw-r--r-- | sprintf.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -490,6 +490,7 @@ rb_str_format(int argc, const VALUE *argv, VALUE fmt) buf[blen++] = ' '; } } + rb_enc_associate(result, enc); break; } } |