Commit 40fe7cdd authored by Sebastian Ramacher's avatar Sebastian Ramacher

Some typos

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 68b665a4
......@@ -35,7 +35,7 @@
/** Read a most GT_MAX_READ bytes before falling back to file. */
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
......@@ -86,7 +86,7 @@ zathura_document_open(zathura_plugin_manager_t* plugin_manager, const char*
return NULL;
}
const gchar* content_type = guess_type(path);
const char* content_type = guess_type(path);
if (content_type == NULL) {
girara_error("Could not determine file type.");
return NULL;
......
......@@ -60,7 +60,7 @@ print(zathura_t* zathura)
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));
} 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);
......
......@@ -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);
/* retreive zoom step value */
/* retrieve zoom step value */
int value = 1;
girara_setting_get(zathura->ui.session, "zoom-step", &value);
......
......@@ -210,7 +210,7 @@ replace_substring(const char* string, const char* old, const char* new)
size_t old_len = strlen(old);
size_t new_len = strlen(new);
/* count occurences */
/* count occurrences */
unsigned int count = 0;
unsigned int i = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment