mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 11:36:01 +01:00
Don't overwrite existing files in :save
This commit is contained in:
parent
7c7a067938
commit
d1cd82fe68
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ cmd_save(girara_session_t* session, girara_list_t* argument_list)
|
|||
}
|
||||
|
||||
if (girara_list_size(argument_list) == 1) {
|
||||
if (document_save(zathura, girara_list_nth(argument_list, 0), true) == true) {
|
||||
if (document_save(zathura, girara_list_nth(argument_list, 0), false) == true) {
|
||||
girara_notify(session, GIRARA_INFO, _("Document saved."));
|
||||
} else {
|
||||
girara_notify(session, GIRARA_INFO, _("Failed to save document."));
|
||||
|
|
Loading…
Reference in a new issue