summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-06-15 08:36:24 +0900
committerYukihiro Matsumoto <[email protected]>2012-06-15 08:36:24 +0900
commit93cabfc18b87d404e98aace2098174372a9afd58 (patch)
tree3110670b06dc7ef69ec4b6dfc2c6d7144bb60366 /src/string.c
parent040b57fae5ab001fdb04271131dbe33a713170d8 (diff)
parentf093ed69aec7a3640484bffbaa01b5e453495406 (diff)
downloadmruby-93cabfc18b87d404e98aace2098174372a9afd58.tar.gz
mruby-93cabfc18b87d404e98aace2098174372a9afd58.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 14041127a..a9e155c72 100644
--- a/src/string.c
+++ b/src/string.c
@@ -763,7 +763,7 @@ num_index:
len = RSTRING_LEN(str);
switch (mrb_range_beg_len(mrb, indx, &beg, &len, len, 0)) {
- case 0/*FLASE*/:
+ case FALSE:
break;
case 2/*OTHER*/:
return mrb_nil_value();