summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-05-26 21:27:16 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-05-26 21:27:16 +0900
commit7b8ae1b8b64c281d983723d2c127f5713ad6e640 (patch)
tree11f5833e6d9f3c2618cd192cd2e651b5eebba652 /src/string.c
parent6557ee938a5404b31b064f08c58bb54dfc0ac468 (diff)
parentec3a5f33ba8b52fc9d5ee21cdb0a689622608f98 (diff)
downloadmruby-7b8ae1b8b64c281d983723d2c127f5713ad6e640.tar.gz
mruby-7b8ae1b8b64c281d983723d2c127f5713ad6e640.zip
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 9bc178499..77f81ecc6 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2222,7 +2222,7 @@ mrb_str_to_dbl(mrb_state *mrb, mrb_value str, int badcheck)
static mrb_value
mrb_str_to_f(mrb_state *mrb, mrb_value self)
{
- return mrb_float_value(mrb_str_to_dbl(mrb, self, 0/*Qfalse*/));
+ return mrb_float_value(mrb, mrb_str_to_dbl(mrb, self, 0/*Qfalse*/));
}
/* 15.2.10.5.40 */