mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 12:55:59 +01:00
Some typos
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
68b665a49d
commit
40fe7cdd9e
4 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@
|
||||||
/** Read a most GT_MAX_READ bytes before falling back to file. */
|
/** Read a most GT_MAX_READ bytes before falling back to file. */
|
||||||
static const size_t GT_MAX_READ = 1 << 16;
|
static const size_t GT_MAX_READ = 1 << 16;
|
||||||
|
|
||||||
static const gchar* guess_type(const char* path);
|
static const char* guess_type(const char* path);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Document
|
* Document
|
||||||
|
@ -86,7 +86,7 @@ zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
const gchar* content_type = guess_type(path);
|
const char* content_type = guess_type(path);
|
||||||
if (content_type == NULL) {
|
if (content_type == NULL) {
|
||||||
girara_error("Could not determine file type.");
|
girara_error("Could not determine file type.");
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
2
print.c
2
print.c
|
@ -60,7 +60,7 @@ print(zathura_t* zathura)
|
||||||
zathura->print.settings = g_object_ref(gtk_print_operation_get_print_settings(print_operation));
|
zathura->print.settings = g_object_ref(gtk_print_operation_get_print_settings(print_operation));
|
||||||
zathura->print.page_setup = g_object_ref(gtk_print_operation_get_default_page_setup(print_operation));
|
zathura->print.page_setup = g_object_ref(gtk_print_operation_get_default_page_setup(print_operation));
|
||||||
} else if (result == GTK_PRINT_OPERATION_RESULT_ERROR) {
|
} else if (result == GTK_PRINT_OPERATION_RESULT_ERROR) {
|
||||||
girara_error("Error occured while printing progress");
|
girara_error("Error pccurred while printing progress");
|
||||||
}
|
}
|
||||||
|
|
||||||
g_object_unref(print_operation);
|
g_object_unref(print_operation);
|
||||||
|
|
|
@ -1287,7 +1287,7 @@ sc_zoom(girara_session_t* session, girara_argument_t* argument, girara_event_t*
|
||||||
|
|
||||||
zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_NONE);
|
zathura_document_set_adjust_mode(zathura->document, ZATHURA_ADJUST_NONE);
|
||||||
|
|
||||||
/* retreive zoom step value */
|
/* retrieve zoom step value */
|
||||||
int value = 1;
|
int value = 1;
|
||||||
girara_setting_get(zathura->ui.session, "zoom-step", &value);
|
girara_setting_get(zathura->ui.session, "zoom-step", &value);
|
||||||
|
|
||||||
|
|
2
utils.c
2
utils.c
|
@ -210,7 +210,7 @@ replace_substring(const char* string, const char* old, const char* new)
|
||||||
size_t old_len = strlen(old);
|
size_t old_len = strlen(old);
|
||||||
size_t new_len = strlen(new);
|
size_t new_len = strlen(new);
|
||||||
|
|
||||||
/* count occurences */
|
/* count occurrences */
|
||||||
unsigned int count = 0;
|
unsigned int count = 0;
|
||||||
unsigned int i = 0;
|
unsigned int i = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue