~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Handle suspend and resume events in PuTTYgen as well.
[sgt/putty]
/
unix
/
uxprint.c
diff --git
a/unix/uxprint.c
b/unix/uxprint.c
index
387ea28
..
c835b6f
100644
(file)
--- a/
unix/uxprint.c
+++ b/
unix/uxprint.c
@@
-14,10
+14,10
@@
printer_job *printer_start_job(char *printer)
{
printer_job *ret = smalloc(sizeof(printer_job));
/*
{
printer_job *ret = smalloc(sizeof(printer_job));
/*
- * On Unix, we treat
cfg.printer as the name of a command to
- * pipe to - typically lpr, of course.
+ * On Unix, we treat
the printer string as the name of a
+ *
command to
pipe to - typically lpr, of course.
*/
*/
- ret->fp = popen(
cfg.
printer, "w");
+ ret->fp = popen(printer, "w");
if (!ret->fp) {
sfree(ret);
ret = NULL;
if (!ret->fp) {
sfree(ret);
ret = NULL;