summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/string.c b/string.c
index 1e26a25bb7..c268cd6248 100644
--- a/string.c
+++ b/string.c
@@ -5823,7 +5823,8 @@ rb_str_squeeze_bang(int argc, VALUE *argv, VALUE str)
*t++ = save = c;
}
}
- } else {
+ }
+ else {
while (s < send) {
unsigned int c;
int clen;