diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-18 21:09:04 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-05-18 21:09:04 +0900 |
| commit | 4a6650b191d9715f7ebfe32038b351c84d2675f3 (patch) | |
| tree | cb008f6d466d0643fd9c79ec7f5e25fe4e140ff7 /src/string.c | |
| parent | 85e36b52aa840195370d87f26467fba2c5b5c509 (diff) | |
| parent | 45305686fe00a12c44419fb932cd9ef070e46a55 (diff) | |
| download | mruby-4a6650b191d9715f7ebfe32038b351c84d2675f3.tar.gz mruby-4a6650b191d9715f7ebfe32038b351c84d2675f3.zip | |
Merge pull request #2287 from yui-knk/add-space
Add a space aftre bracket.
Diffstat (limited to 'src/string.c')
| -rw-r--r-- | src/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c index 5d4e217b3..1572cab14 100644 --- a/src/string.c +++ b/src/string.c @@ -1821,7 +1821,7 @@ mrb_str_split_m(mrb_state *mrb, mrb_value str) else { if (mrb_string_p(spat)) { split_type = string; - if (RSTRING_LEN(spat) == 1 && RSTRING_PTR(spat)[0] == ' '){ + if (RSTRING_LEN(spat) == 1 && RSTRING_PTR(spat)[0] == ' ') { split_type = awk; } } |
