mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 09:55:59 +01:00
Fix a typo
This commit is contained in:
parent
577d485747
commit
02e0c8b2d3
2 changed files with 5 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue