summaryrefslogtreecommitdiff
path: root/sample/listcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'sample/listcap.c')
-rw-r--r--sample/listcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/listcap.c b/sample/listcap.c
index c0d3014..8072842 100644
--- a/sample/listcap.c
+++ b/sample/listcap.c
@@ -103,7 +103,7 @@ extern int main(int argc, char* argv[])
use_encs[0] = ONIG_ENCODING_ASCII;
onig_initialize(use_encs, sizeof(use_encs)/sizeof(use_encs[0]));
- /* enable capture hostory */
+ /* enable capture history */
onig_copy_syntax(&syn, ONIG_SYNTAX_DEFAULT);
onig_set_syntax_op2(&syn,
onig_get_syntax_op2(&syn) | ONIG_SYN_OP2_ATMARK_CAPTURE_HISTORY);