summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wps/WPSLIST2
-rwxr-xr-xwps/wpsbuild.pl8
2 files changed, 4 insertions, 6 deletions
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
157Statusbar: on 157Statusbar: on
158backdrop: 158backdrop:
159iconset: 159iconset:
160viewers iconset: 160viewers iconset: /.rockbox/icons/viewers.bmp
161</wps> 161</wps>
162 162
163<rwps> 163<rwps>
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
144{ 144{
145 #copy the viewer icon specified by the theme 145 #copy the viewer icon specified by the theme
146 146
147 if ($viewericon ne '') { 147 $viewericon =~ /\/(.*icons\/(.*))/i;
148 $viewericon =~ /\/(.*icons\/(.*))/i; 148 `cp $ROOT/icons/$2 $1`;
149 `cp $ROOT/icons/$2 $1`;
150 }
151} 149}
152 150
153sub copywps 151sub copywps
@@ -246,7 +244,7 @@ MOO
246 if(defined($iconset)) { 244 if(defined($iconset)) {
247 push @out, "iconset: $iconset\n"; 245 push @out, "iconset: $iconset\n";
248 } 246 }
249 if(defined($viewericon)) { 247 if($viewericon) {
250 push @out, "viewers iconset: $viewericon\n"; 248 push @out, "viewers iconset: $viewericon\n";
251 } 249 }
252 if($lineselecttextcolor && $main_depth > 2 ) { 250 if($lineselecttextcolor && $main_depth > 2 ) {