about summary refs log tree commit diff stats
path: root/src/LYShowInfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/LYShowInfo.c')
-rw-r--r--src/LYShowInfo.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/LYShowInfo.c b/src/LYShowInfo.c
index b545a756..5133be88 100644
--- a/src/LYShowInfo.c
+++ b/src/LYShowInfo.c
@@ -440,9 +440,7 @@ int LYShowInfo(DocInfo *doc,
 		}
 	    } else {
 		ADD_SS("URL:",
-		       (links[doc->link].lname
-			? links[doc->link].lname
-			: ""));
+		       NonNull(links[doc->link].lname));
 	    }
 	    END_DL();