diff options
Diffstat (limited to 'wps')
-rwxr-xr-x | wps/wpsbuild.pl | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/wps/wpsbuild.pl b/wps/wpsbuild.pl index de7f0067c8..3df22b4148 100755 --- a/wps/wpsbuild.pl +++ b/wps/wpsbuild.pl | |||
@@ -142,18 +142,23 @@ while(<WPS>) { | |||
142 | exit; | 142 | exit; |
143 | } | 143 | } |
144 | 144 | ||
145 | # print "LCD: $wps wants $rheight x $rwidth\n"; | 145 | #print "LCD: $wps wants $height x $width\n"; |
146 | #print "LCD: is $rheight x $rwidth\n"; | ||
146 | 147 | ||
147 | if(($height >= $rheight) || | 148 | if(($height <= $rheight) && ($width <= $width)) { |
148 | ($width >= $width)) { | ||
149 | # | 149 | # |
150 | # The target model has an LCD that is suitable for this | 150 | # The target model has an LCD that is suitable for this |
151 | # WPS | 151 | # WPS |
152 | # | 152 | # |
153 | #print "Size requirement is fine!\n"; | ||
154 | |||
153 | mkdirs(); | 155 | mkdirs(); |
154 | buildcfg(); | 156 | buildcfg(); |
155 | copywps(); | 157 | copywps(); |
156 | } | 158 | } |
159 | else { | ||
160 | #print "Skip $wps due to size restraints\n"; | ||
161 | } | ||
157 | $within = 0; | 162 | $within = 0; |
158 | 163 | ||
159 | undef $wps, $width, $height, $font, $statusbar, $author; | 164 | undef $wps, $width, $height, $font, $statusbar, $author; |