summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-13 04:19:24 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-13 04:19:24 +0900
commit1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda (patch)
tree4b2a1b4540c7caf278b441356d47b74b27ea744c /src/string.c
parent0143a85a21027f0f171abb1d00a2e000a364671c (diff)
downloadmruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.tar.gz
mruby-1ed39d5c05bd37c6633e7729efb8e7aa46d7fdda.zip
use TRUE/FALSE instead of 1/0
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 aef0ac88f..b749614dc 100644
--- a/src/string.c
+++ b/src/string.c
@@ -2296,7 +2296,7 @@ mrb_block_given_p()
{
/*if (ruby_frame->iter == ITER_CUR && ruby_block)
return 1;*//*Qtrue*/
- return 0/*Qfalse*/;
+ return FALSE;
}
/* 15.2.10.5.37 */