diff options
author | Todd T. Fries <todd@fries.net> | 2012-08-01 11:47:00 -0500 |
---|---|---|
committer | Todd T. Fries <todd@fries.net> | 2012-08-01 11:47:14 -0500 |
commit | fbf697246e795a87ddec8c525ded0dac75ce952f (patch) | |
tree | 1b3623a4e71e26a21e76109a9daedbb37908c662 | |
parent | 9449cc1d3d23c68368543eb756a3f2606c03be7a (diff) | |
download | xombrero-fbf697246e795a87ddec8c525ded0dac75ce952f.tar.gz |
sanity check better to fix a warning only perl on linux reports, how odd!
-rw-r--r-- | txt2tooltip.pl | 2 |
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; } |