From 6a7ef9cccd26481afa1e5ea4e03806669dec9541 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 29 Jun 2019 20:47:50 -0400 Subject: convert(): Fix undefined $output in eq --- diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index 7f50dcf..5c7a9c4 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -263,7 +263,7 @@ sub convert my $line; my $font; - if ($input eq $output and $input ne '-') { + if ($input eq ($output or '') and $input ne '-') { warning('Input and output files are equal'); } -- cgit v0.9.1