Use boolean macro in mrb_range_initialize()

This commit is contained in:
Jun Hiroe
2014-05-17 09:57:59 +09:00
parent 13db4da204
commit 0725aacfeb
+1 -1
View File
@@ -126,7 +126,7 @@ mrb_range_initialize(mrb_state *mrb, mrb_value range)
n = mrb_get_args(mrb, "oo|b", &beg, &end, &exclusive);
if (n != 3) {
exclusive = 0;
exclusive = FALSE;
}
/* Ranges are immutable, so that they should be initialized only once. */
range_init(mrb, range, beg, end, exclusive);