diff --git a/wps/WPSLIST b/wps/WPSLIST index e290287017..79649f4579 100644 --- a/wps/WPSLIST +++ b/wps/WPSLIST @@ -157,7 +157,7 @@ Background Color: FFFFFF Statusbar: on backdrop: iconset: -viewers iconset: +viewers iconset: /.rockbox/icons/viewers.bmp diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl index cb9ccbfc80..a07909ca77 100755 --- a/wps/wpsbuild.pl +++ b/wps/wpsbuild.pl @@ -144,10 +144,8 @@ sub copythemeviewericon { #copy the viewer icon specified by the theme - if ($viewericon ne '') { - $viewericon =~ /\/(.*icons\/(.*))/i; - `cp $ROOT/icons/$2 $1`; - } + $viewericon =~ /\/(.*icons\/(.*))/i; + `cp $ROOT/icons/$2 $1`; } sub copywps @@ -246,7 +244,7 @@ MOO if(defined($iconset)) { push @out, "iconset: $iconset\n"; } - if(defined($viewericon)) { + if($viewericon) { push @out, "viewers iconset: $viewericon\n"; } if($lineselecttextcolor && $main_depth > 2 ) {