diff options
| author | Jun Hiroe <[email protected]> | 2014-06-03 20:53:36 +0900 |
|---|---|---|
| committer | Jun Hiroe <[email protected]> | 2014-06-03 20:53:51 +0900 |
| commit | 73874f400835507bd18dba0e62874e970795774d (patch) | |
| tree | 50ba62409521b75591a8c029f2d3102eee95ef62 /mrbgems/mruby-string-utf8/src/string.c | |
| parent | 9fe8653e8634db169529657109a4b69ac38862d7 (diff) | |
| download | mruby-73874f400835507bd18dba0e62874e970795774d.tar.gz mruby-73874f400835507bd18dba0e62874e970795774d.zip | |
Fix indents in mruby-string-utf8
Diffstat (limited to 'mrbgems/mruby-string-utf8/src/string.c')
| -rw-r--r-- | mrbgems/mruby-string-utf8/src/string.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mrbgems/mruby-string-utf8/src/string.c b/mrbgems/mruby-string-utf8/src/string.c index edda491fc..9ab6b56fa 100644 --- a/mrbgems/mruby-string-utf8/src/string.c +++ b/mrbgems/mruby-string-utf8/src/string.c @@ -161,10 +161,10 @@ mrb_memsearch_qs(const unsigned char *xs, mrb_int m, const unsigned char *ys, mr qstable[i] = m + 1; for (; x < xe; ++x) qstable[*x] = xe - x; - /* Searching */ + /* Searching */ for (; y + m <= ys + n; y += *(qstable + y[m])) { if (*xs == *y && memcmp(xs, y, m) == 0) - return y - ys; + return y - ys; } return -1; } @@ -572,7 +572,7 @@ mrb_str_split_m(mrb_state *mrb, mrb_value str) if (mrb_string_p(spat)) { split_type = string; if (RSTRING_LEN(spat) == 1 && RSTRING_PTR(spat)[0] == ' '){ - split_type = awk; + split_type = awk; } } else { |
