1
0
mirror of https://github.com/gryf/urxvt-font.git synced 2026-03-19 04:13:31 +01:00

bugfix: font string comparisons should be case-insensitive

This commit is contained in:
Noah Tilton
2012-11-09 12:01:08 -06:00
parent 80e3b8798d
commit 032aa700f6

2
font
View File

@@ -48,7 +48,7 @@ sub _resize_xft_string
foreach my $piece (@pieces)
{
# Assumption: xft:fontname comes before pixelsize=whatever
$monaco ||= $piece =~ /Monaco/;
$monaco ||= $piece =~ /Monaco/i;
# matching string
if ($piece =~ /pixelsize=(\d*)/)