From e25c754918ae26e8b9e68a47bc1af36248e91800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Fri, 12 Jul 2019 09:18:14 +0200 Subject: New upstream version 6.9.2 --- sample/bug_fix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sample/bug_fix.c') 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(®, 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); -- cgit v1.2.3