mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 14:26:00 +01:00
Fixed printing
This commit is contained in:
parent
9b31d203c4
commit
8bbc184fd0
1 changed files with 1 additions and 1 deletions
|
@ -3324,7 +3324,7 @@ cmd_print(int argc, char** argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
char* escaped_filename = g_shell_quote(Zathura.PDF.file);
|
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);
|
char* command = g_strdup_printf(print_command, printer, sites, escaped_addit, escaped_filename);
|
||||||
system(command);
|
system(command);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue