Skip to content

Commit 61bbdf7

Browse files
Work around an undef error (really uncommon)
1 parent 75587c6 commit 61bbdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-so-fancy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -947,7 +947,7 @@ sub show_debug_info {
947947
print "\n";
948948

949949
print "Terminal width : " . get_terminal_width() . "\n";
950-
print "Terminal \$LANG : " . $ENV{LANG} . "\n";
950+
print "Terminal \$LANG : " . ($ENV{LANG} || "") . "\n";
951951
print "\n";
952952
print "Supports Unicode: " . yes_no(should_print_unicode()) . "\n";
953953
print "Unicode Ruler : " . yes_no($use_unicode_dash_for_ruler) . "\n";

0 commit comments

Comments
 (0)