diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-17 13:05:28 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-17 13:05:28 +0900 |
| commit | a1a5eae9257aee352f992e5b26c1fa2c0f5cf0e0 (patch) | |
| tree | f8ef6c2427adc5e380c94794888c63de99a454df | |
| parent | 54d627bd00ff494c8d75d5e905546cb0da74866b (diff) | |
| parent | 0725aacfebc2bb7f34384d2a6db78d0d56e134d1 (diff) | |
| download | mruby-a1a5eae9257aee352f992e5b26c1fa2c0f5cf0e0.tar.gz mruby-a1a5eae9257aee352f992e5b26c1fa2c0f5cf0e0.zip | |
Merge pull request #2273 from suzukaze/refactor-range.c
Use boolean macro in mrb_range_initialize()
| -rw-r--r-- | src/range.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/range.c b/src/range.c index 3e5af1894..e162fb63f 100644 --- a/src/range.c +++ b/src/range.c @@ -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); |
