From 9485a5192859bf3c9a48161f1290b03416d335c4 Mon Sep 17 00:00:00 2001 From: Holger Vogt Date: Wed, 30 Dec 2020 14:55:09 +0100 Subject: [PATCH] Re-enable the 'hardcopy' command Fixes support-requests #53 by Paolo M. --- src/frontend/com_hardcopy.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/frontend/com_hardcopy.c b/src/frontend/com_hardcopy.c index a9c7e61fb..9d62fcf10 100644 --- a/src/frontend/com_hardcopy.c +++ b/src/frontend/com_hardcopy.c @@ -23,12 +23,6 @@ * it doesn't. */ void com_hardcopy(wordlist *wl) { - /* 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];