summaryrefslogtreecommitdiff
path: root/sample/user_property.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff.email>2019-07-13 14:54:01 +0200
committerJörg Frings-Fürst <debian@jff.email>2019-07-13 14:54:01 +0200
commit7bbf4ae1401bc6e40f71a32d3f97952796d85690 (patch)
tree61c3edf1a277547ecd11903427a31cd09cf42b8a /sample/user_property.c
parentf883fa5bd37b6420f5dc25027a68289c64028063 (diff)
parent62c49103a575c79d20d524b36d1b7c4db9515dbf (diff)
Merge branch 'release/debian/6.9.2-1'debian/6.9.2-1
Diffstat (limited to 'sample/user_property.c')
-rw-r--r--sample/user_property.c5
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(&reg, 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");
}