Don't accept 0 for the width or height of a progress bar in the %pb tag. A zero...
commita41df24cd36e8e8e6ad50e71c74ef3f602d4e5ac
authordave <dave@a1c6a512-1295-4272-9138-f99709370657>
Wed, 22 Oct 2008 21:35:38 +0000 (22 21:35 +0000)
committerdave <dave@a1c6a512-1295-4272-9138-f99709370657>
Wed, 22 Oct 2008 21:35:38 +0000 (22 21:35 +0000)
tree53ea2da9200a895d68e0b86b8d894b9ec6795a25
parenteced2b981961b65ee7087d0167e71192a7ea3354
Don't accept 0 for the width or height of a progress bar in the %pb tag.  A zero width causes a divide by zero, and a zero height simply doesn't make any sense, so we assume it was a mistake.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18863 a1c6a512-1295-4272-9138-f99709370657
apps/gui/wps_parser.c