Commit 02e0c8b2 authored by Sebastian Ramacher's avatar Sebastian Ramacher
Browse files

Fix a typo

parent 577d4857
......@@ -81,8 +81,11 @@ zathura_bookmark_free(zathura_bookmark_t* bookmark)
bool
zathura_bookmarks_load(zathura_t* zathura, const gchar* file) {
g_return_val_if_fail(zathura && zathura->database, false);
g_return_val_if_fail(zathura, false);
g_return_val_if_fail(file, false);
if (zathura->database == NULL) {
return false;
}
girara_list_t* bookmarks = zathura_db_load_bookmarks(zathura->database, file);
if (!bookmarks) {
......
......@@ -204,7 +204,7 @@ zathura_init(int argc, char* argv[])
char* database_path = g_build_filename(zathura->config.data_dir, "bookmarks.sqlite", NULL);
zathura->database = zathura_db_init(database_path);
if (zathura->database == NULL) {
girara_error("Unable to inizialize database. Bookmarks won't be available.");
girara_error("Unable to initialize database. Bookmarks won't be available.");
}
g_free(database_path);
......
Supports Markdown
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