fix: correct several typos
continuous-integration/drone Build is passing Details

This commit is contained in:
CismonX 2023-06-30 17:33:30 +08:00
parent e1973ef589
commit cbe40a99fe
Signed by: cismonx
GPG Key ID: 3094873E29A482FB
11 changed files with 13 additions and 13 deletions

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_ctx_create - create input context arif_ctx_create - create input context
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_ctx_destroy - destroy input context arif_ctx_destroy - destroy input context
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_fetch - fetch candidates arif_fetch - fetch candidates
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_query - query for candidates arif_query - query for candidates
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_rl_complete - generate Readline completion candidates arif_rl_complete - generate Readline completion candidates
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif_rl.h> .B #include <arif/arif_rl.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_rl_display - display Readline completion candidates arif_rl_display - display Readline completion candidates
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif_rl.h> .B #include <arif/arif_rl.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_select_page - select the page of candidates arif_select_page - select the page of candidates
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_set_engine - set input method engine arif_set_engine - set input method engine
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif/arif.h> .B #include <arif/arif.h>
.PP .PP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arify - execute program with input methods arify - execute program with input methods
. .
.SH SYNOPSYS .SH SYNOPSIS
.B arify .B arify
.RI [ options ] .RI [ options ]
.I pathname .I pathname
@ -28,7 +28,7 @@ Overrides the ARIFY_ENGINES environment variable with
.IP .IP
If multiple If multiple
.BR \-e .BR \-e
options are provided, the resulting value is a concatentation of each options are provided, the resulting value is a concatenation of each
.IR engines , .IR engines ,
with an ASCII Space character as separator. with an ASCII Space character as separator.
.TP .TP

View File

@ -3,7 +3,7 @@
.SH NAME .SH NAME
arif_rime - example Rime IME integration for ARIF arif_rime - example Rime IME integration for ARIF
. .
.SH SYNOPSYS .SH SYNOPSIS
.EX .EX
.B #include <arif_rime.h> .B #include <arif_rime.h>
.PP .PP

View File

@ -111,7 +111,7 @@ complete (
static void static void
disable_arify ( disable_arify (
bool supress_message bool suppress_message
) { ) {
rl_basic_quote_characters = rlctx.old_basic_quote_chars; rl_basic_quote_characters = rlctx.old_basic_quote_chars;
rl_attempted_completion_function = rlctx.old_comp_func; rl_attempted_completion_function = rlctx.old_comp_func;
@ -121,7 +121,7 @@ disable_arify (
rl_sort_completion_matches = rlctx.old_sort_matches; rl_sort_completion_matches = rlctx.old_sort_matches;
rlctx.enabled = false; rlctx.enabled = false;
if (!supress_message) { if (!suppress_message) {
rlprintf("%s", "[arify] disabled"); rlprintf("%s", "[arify] disabled");
} }
arify_debug_printf("%s", "disabled"); arify_debug_printf("%s", "disabled");