summaryrefslogtreecommitdiff
path: root/sample/bug_fix.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-12 09:18:18 +0200
commit5c29b174a11e992dac68553f08645fe4a825c315 (patch)
tree7c72e5a49112a844a53a2c10ef1fda47867aee92 /sample/bug_fix.c
parent6cac1738b6aebf75b29d225775030d291319f9a2 (diff)
parente25c754918ae26e8b9e68a47bc1af36248e91800 (diff)
Update upstream source from tag 'upstream/6.9.2'
Update to upstream version '6.9.2' with Debian dir a351ad757689417d0ede510a023d625faee8e3e9
Diffstat (limited to 'sample/bug_fix.c')
-rw-r--r--sample/bug_fix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/bug_fix.c b/sample/bug_fix.c
index 44802ef..81c2784 100644
--- a/sample/bug_fix.c
+++ b/sample/bug_fix.c
@@ -95,8 +95,8 @@ exec(OnigEncoding enc, OnigOptionType options, char* apattern, char* astr)
onig_initialize(&enc, 1);
r = onig_new(&reg, pattern,
- pattern + onigenc_str_bytelen_null(enc, pattern),
- options, enc, ONIG_SYNTAX_DEFAULT, &einfo);
+ pattern + onigenc_str_bytelen_null(enc, pattern),
+ options, enc, ONIG_SYNTAX_DEFAULT, &einfo);
if (r != ONIG_NORMAL) {
char s[ONIG_MAX_ERROR_MESSAGE_LEN];
onig_error_code_to_str((UChar* )s, r, &einfo);