aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
authorgit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-29 10:17:37 +0900
committergit <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-06-29 10:17:37 +0900
commita88107c44dd08b02ed1c1b5951882b070a1eab93 (patch)
treef38e60d2a85099bc6304e8a96132559fe0f83dce /string.c
parent2f6cc15cdb3d64135b29cfd5ee376a5a03ebbee7 (diff)
downloadruby-a88107c44dd08b02ed1c1b5951882b070a1eab93.tar.gz
* expand tabs.
Diffstat (limited to 'string.c')
-rw-r--r--string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string.c b/string.c
index d85f3425bf..6bb8a24313 100644
--- a/string.c
+++ b/string.c
@@ -8593,7 +8593,7 @@ get_reg_grapheme_cluster(rb_encoding *enc)
reg_grapheme_cluster = reg_grapheme_cluster_utf8;
}
if (!reg_grapheme_cluster) {
- const OnigUChar source_ascii[] = "\\X";
+ const OnigUChar source_ascii[] = "\\X";
OnigErrorInfo einfo;
const OnigUChar *source = source_ascii;
size_t source_len = sizeof(source_ascii) - 1;
@@ -8616,7 +8616,7 @@ get_reg_grapheme_cluster(rb_encoding *enc)
#undef CHARS_32BE
#undef CHARS_32LE
}
- int r = onig_new(&reg_grapheme_cluster, source, source + source_len,
+ int r = onig_new(&reg_grapheme_cluster, source, source + source_len,
ONIG_OPTION_DEFAULT, enc, OnigDefaultSyntax, &einfo);
if (r) {
UChar message[ONIG_MAX_ERROR_MESSAGE_LEN];