Commit 8bbc184f authored by Moritz Lipp's avatar Moritz Lipp
Browse files

Fixed printing

parent 9b31d203
......@@ -3324,7 +3324,7 @@ cmd_print(int argc, char** argv)
}
char* escaped_filename = g_shell_quote(Zathura.PDF.file);
char* escaped_addit = g_shell_quote(addit->str);
char* escaped_addit = addit->len ? g_shell_quote(addit->str) : g_strdup("");
char* command = g_strdup_printf(print_command, printer, sites, escaped_addit, escaped_filename);
system(command);
......
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