mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-10-09 23:53:28 -04:00
cabbiev2: Don't generate certain entries for monochrome devices
Namely, 'backdrop' and 'filetype colours' Change-Id: Ied0b87d9b43d010a37ebb1e33488463c6ad1ebcc
This commit is contained in:
parent
279e8524a6
commit
59f15ca630
1 changed files with 6 additions and 3 deletions
|
|
@ -290,10 +290,13 @@ MOO
|
|||
}
|
||||
|
||||
push @out, "selector type: $selecttype\n" if (defined($selecttype));
|
||||
push @out, "backdrop: $backdrop\n" if (defined($backdrop));
|
||||
push @out, "filetype colours: $filetylecolor\n" if (defined($filetylecolor));
|
||||
|
||||
if ($main_depth > 1) {
|
||||
push @out, "backdrop: $backdrop\n" if (defined($backdrop));
|
||||
}
|
||||
|
||||
if ($main_depth > 2) {
|
||||
push @out, "filetype colours: $filetylecolor\n" if (defined($filetylecolor));
|
||||
push @out, "foreground color: $fgcolor\n" if($fgcolor);
|
||||
push @out, "background color: $bgcolor\n" if($bgcolor);
|
||||
push @out, "line selector start color: $lineselectstart\n" if($lineselectstart);
|
||||
|
|
@ -407,7 +410,7 @@ $wpsdir = $1;
|
|||
open(WPS, "<$wpslist");
|
||||
while(<WPS>) {
|
||||
my $l = $_;
|
||||
|
||||
|
||||
# remove CR
|
||||
$l =~ s/\r//g;
|
||||
if($l =~ /^ *\#/) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue