diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:18 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:18 +0200 |
commit | 5c29b174a11e992dac68553f08645fe4a825c315 (patch) | |
tree | 7c72e5a49112a844a53a2c10ef1fda47867aee92 /sample/user_property.c | |
parent | 6cac1738b6aebf75b29d225775030d291319f9a2 (diff) | |
parent | e25c754918ae26e8b9e68a47bc1af36248e91800 (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/user_property.c')
-rw-r--r-- | sample/user_property.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sample/user_property.c b/sample/user_property.c index 99b3f2c..8b2abd2 100644 --- a/sample/user_property.c +++ b/sample/user_property.c @@ -32,8 +32,7 @@ main(int argc, char* argv[]) OnigEncoding use_encs[] = { ONIG_ENCODING_UTF8 }; onig_initialize(use_encs, sizeof(use_encs)/sizeof(use_encs[0])); - r = onig_unicode_define_user_property("HandakuonHiragana", - handakuon_hiragana); + r = onig_unicode_define_user_property("HandakuonHiragana", handakuon_hiragana); if (r == ONIG_NORMAL) { fprintf(stdout, "define HandakuonHiragana\n"); } @@ -45,7 +44,7 @@ main(int argc, char* argv[]) } r = onig_new(®, pattern, pattern + strlen((char* )pattern), - ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &einfo); + ONIG_OPTION_DEFAULT, ONIG_ENCODING_UTF8, ONIG_SYNTAX_DEFAULT, &einfo); if (r == ONIG_NORMAL) { fprintf(stdout, "onig_new: success.\n"); } |