summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index ae7c028cf9..94acc767fb 100644
--- a/string.c
+++ b/string.c
@@ -2191,7 +2191,7 @@ rb_str_each_line(argc, argv, str)
}
if (s != pend) {
- if (p > pend) p = pend ;
+ if (p > pend) p = pend;
line = rb_str_new(s, p - s);
rb_yield(line);
}