about summary refs log tree commit diff stats
path: root/txt2tooltip.pl
diff options
context:
space:
mode:
Diffstat (limited to 'txt2tooltip.pl')
-rw-r--r--txt2tooltip.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/txt2tooltip.pl b/txt2tooltip.pl
index 313b236..d2af2c0 100644
--- a/txt2tooltip.pl
+++ b/txt2tooltip.pl
@@ -65,7 +65,7 @@ sub showtip {
 	my $text;
 	my $count = 1;
 
-	if (length($tip) < 1) {
+	if (!defined($tip) || length($tip) < 1) {
 		return;
 	}