about summary refs log tree commit diff stats
path: root/src/LYPrint.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2018-03-18 23:55:09 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-03-18 23:55:09 +0000
commit7cec919da585246a86443c57e1f04fc79cce5954 (patch)
treecafabfdfd6fce21ccbe16aa4834cd703f59863a8 /src/LYPrint.c
parente86c1c8ddabde50e52019b5a00026e5e3a73b5e3 (diff)
downloadlynx-snapshots-7cec919da585246a86443c57e1f04fc79cce5954.tar.gz
snapshot of project "lynx", label v2-8-9dev_16v
Diffstat (limited to 'src/LYPrint.c')
-rw-r--r--src/LYPrint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYPrint.c b/src/LYPrint.c
index 103a4fd6..5cc796a1 100644
--- a/src/LYPrint.c
+++ b/src/LYPrint.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYPrint.c,v 1.106 2018/03/05 22:38:53 tom Exp $
+ * $LynxId: LYPrint.c,v 1.107 2018/03/18 19:06:06 tom Exp $
  */
 #include <HTUtils.h>
 #include <HTAccess.h>
@@ -315,7 +315,7 @@ static void send_file_to_file(DocInfo *newdoc,
 
   retry:
     SetupFilename(&filename, sug_filename);
-    if (lynx_save_space) {
+    if (non_empty(lynx_save_space)) {
 	BStrCopy0(buffer, lynx_save_space);
 	BStrCat(buffer, filename);
 	BStrCopy(filename, buffer);