summaryrefslogtreecommitdiff
path: root/sample/simple.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/simple.c')
-rw-r--r--sample/simple.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/simple.c b/sample/simple.c
index 9860dbe..95110b8 100644
--- a/sample/simple.c
+++ b/sample/simple.c
@@ -20,7 +20,7 @@ extern int main(int argc, char* argv[])
onig_initialize(use_encs, sizeof(use_encs)/sizeof(use_encs[0]));
r = onig_new(&reg, pattern, pattern + strlen((char* )pattern),
- ONIG_OPTION_DEFAULT, ONIG_ENCODING_ASCII, ONIG_SYNTAX_DEFAULT, &einfo);
+ ONIG_OPTION_DEFAULT, ONIG_ENCODING_ASCII, ONIG_SYNTAX_DEFAULT, &einfo);
if (r != ONIG_NORMAL) {
char s[ONIG_MAX_ERROR_MESSAGE_LEN];
onig_error_code_to_str((UChar* )s, r, &einfo);