diff --git a/main.c b/main.c index 86ea05b..0920adb 100644 --- a/main.c +++ b/main.c @@ -111,7 +111,7 @@ main(int argc, char* argv[]) } /* Enable/Disable synctex support */ - zathura_set_syntex(zathura, synctex); + zathura_set_synctex(zathura, synctex); /* Print version */ if (print_version == true) { diff --git a/zathura.1.rst b/zathura.1.rst index 5b19af5..aa2d5ad 100644 --- a/zathura.1.rst +++ b/zathura.1.rst @@ -48,10 +48,10 @@ OPTIONS Set log debug level (debug, info, warning, error) -s, --synctex - Enable syntex support + Enable synctex support --x [cmd], --syntec-editor-command [cmd] - Set the syntex editor command +-x [cmd], --synctex-editor-command [cmd] + Set the synctex editor command MOUSE AND KEY BINDINGS ====================== diff --git a/zathura.c b/zathura.c index 5535ba6..2eb9043 100644 --- a/zathura.c +++ b/zathura.c @@ -397,7 +397,7 @@ zathura_set_synctex_editor_command(zathura_t* zathura, const char* command) } void -zathura_set_syntex(zathura_t* zathura, bool value) +zathura_set_synctex(zathura_t* zathura, bool value) { g_return_if_fail(zathura != NULL); g_return_if_fail(zathura->ui.session != NULL); diff --git a/zathura.h b/zathura.h index ec8aa3c..1a0ba07 100644 --- a/zathura.h +++ b/zathura.h @@ -210,12 +210,12 @@ void zathura_set_plugin_dir(zathura_t* zathura, const char* dir); void zathura_set_synctex_editor_command(zathura_t* zathura, const char* command); /** - * En/Disable zathuras syntex support + * En/Disable zathuras synctex support * * @param zathura The zathura session * @param value The value */ -void zathura_set_syntex(zathura_t* zathura, bool value); +void zathura_set_synctex(zathura_t* zathura, bool value); /** * Sets the program parameters