Support the old-style "REM ... SPECIAL SHADE grey" variant.

This commit is contained in:
Dianne Skoll
2022-02-03 19:34:09 -05:00
parent c015441130
commit 3e6259532f

View File

@@ -231,6 +231,10 @@ sub parse_oldstyle_line
$hash->{r} = $1;
$hash->{g} = $2;
$hash->{b} = $3;
} elsif ($hash->{body} =~ /^\s*(\d+)/) {
$hash->{r} = $1;
$hash->{g} = $1;
$hash->{b} = $1;
}
}
}