solution for #6?

This could be a solution for #6 but needs some testing first.
This commit is contained in:
Sebastian Ramacher 2010-09-27 17:50:59 +02:00
parent df6c704c02
commit 88687c3f0a

View File

@ -2099,7 +2099,12 @@ sc_reload(Argument* argument)
/* reopen and restore settings */
close_file(TRUE);
open_file(path, password);
if (open_file(path, password) == FALSE)
{
free(path);
free(password);
return;
}
g_static_mutex_lock(&(Zathura.Lock.pdf_obj_lock));
Zathura.PDF.scale = scale;