summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2006-10-07 16:37:30 +0000
committerJens Arnold <amiconn@rockbox.org>2006-10-07 16:37:30 +0000
commit803331841e3fa14cb84cf23794c282b250e7068d (patch)
tree5a3a91c4adecee392eb1ac9de99273375824999a /apps/plugins
parent5c6f32af9563764cf7b3f9529956ac27808246cf (diff)
downloadrockbox-803331841e3fa14cb84cf23794c282b250e7068d.tar.gz
rockbox-803331841e3fa14cb84cf23794c282b250e7068d.zip
Splash function: Fixed several bugs and problems: (1) Off-by-one bug caused a buffer overflow with splash text longer than the screen. (2) Last line wasn't centered properly in the same situation. (3) On player, string display length must be calculated using utf8length() instead of strlen() since unicode support was added (old bug). (4) Handle splash texts with multiple spaces properly, including correct length calculation and stripping on wrap. (5) Don't reset fg/bg colours to default if not centering (old bug). * Increased buffer sizes to account for (a) larger screens (b) utf-8 (c) words wider than the screen. * More efficient code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11144 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
0 files changed, 0 insertions, 0 deletions