Slightly change bl (battery level) when used in an enum: if the enum contained 10...
commitc6078fe2a889538069ada0a4e1abb92c8aa1a553
authorMagnus Holmgren <magnushol@gmail.com>
Thu, 12 Aug 2010 09:25:26 +0000 (12 09:25 +0000)
committerMagnus Holmgren <magnushol@gmail.com>
Thu, 12 Aug 2010 09:25:26 +0000 (12 09:25 +0000)
tree316fadd575cd9565f7178c26ed4fc041b5a9661a
parentc65a8e07552711f6a62bcdc195adbf9ff0345c0e
Slightly change bl (battery level) when used in an enum: if the enum contained 10 items, bl would return 11 if the battery level was 100 percent (the enum would then display the last entry). Now bl returns a value within the given range. Themes may need to be updated to look as intended.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27784 a1c6a512-1295-4272-9138-f99709370657
apps/gui/skin_engine/skin_tokens.c