From 1c0b175061a9b0e84a7b47d38d3d0821eded2fb0 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Tue, 29 Dec 2020 16:28:56 +0100 Subject: [PATCH] (Preliminary fix to re-enable the 'hardcopy' command. Fixes support-requests #53 by Paolo M. --- src/frontend/com_hardcopy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/frontend/com_hardcopy.c b/src/frontend/com_hardcopy.c index a9c7e61fb..15386f099 100644 --- a/src/frontend/com_hardcopy.c +++ b/src/frontend/com_hardcopy.c @@ -23,12 +23,12 @@ * it doesn't. */ void com_hardcopy(wordlist *wl) { - /* Check if there is a graph available */ + /* Check if there is a graph available if (currentgraph == (GRAPH *) NULL) { (void) fprintf(cp_err, "There is no graph to hardcopy.\n"); return; } - +*/ char *fname; size_t n_byte_fname; /* size of fname in bytes, including null */ char buf[BSIZE_SP], device[BSIZE_SP];