From 4eb23c9ddae2d2fee38b7363f688fed105a6b0a6 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Wed, 10 Nov 2021 17:46:32 +0900 Subject: [PATCH] Commit miss [ci skip] --- io_buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/io_buffer.c b/io_buffer.c index 327a109177..af05388036 100644 --- a/io_buffer.c +++ b/io_buffer.c @@ -376,7 +376,7 @@ io_buffer_validate(struct rb_io_buffer *data) // Only slices incur this overhead, unfortunately... better safe than sorry! return io_buffer_validate_slice(data->source, data->base, data->size); } -else { + else { return 1; } } @@ -437,13 +437,13 @@ io_buffer_hexdump(VALUE string, size_t width, char *base, size_t size) if (value < 127 && isprint(value)) { text[i] = (char)value; } -else { + else { text[i] = '.'; } rb_str_catf(string, " %02x", value); } -else { + else { rb_str_cat2(string, " "); } }