(Preliminary fix to re-enable the 'hardcopy' command.

Fixes support-requests #53 by Paolo M.
This commit is contained in:
Holger Vogt 2020-12-29 16:28:56 +01:00
parent c6d97512ee
commit 1c0b175061
1 changed files with 2 additions and 2 deletions

View File

@ -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];