Fix off-by-one memory corruption in resistor plugin.
commit59b8c7816fde56a721dea6d25cf08d45e17e1ffd
authorThomas Jarosch <tomj@simonv.com>
Thu, 25 Aug 2011 19:18:20 +0000 (25 19:18 +0000)
committerThomas Jarosch <tomj@simonv.com>
Thu, 25 Aug 2011 19:18:20 +0000 (25 19:18 +0000)
tree2de3a632f80ec854283f48d768737580158fefb9
parent697aa7f4994651233bf5208877d58dbb1cec1974
Fix off-by-one memory corruption in resistor plugin.

I'm wondering if that also was the cause
for the lines exactly next to it:

---------------------------------
     /* This cleans out the mysterious garbage that appears */
     rb->lcd_clear_display();
---------------------------------
-> Atleast I see no garbage in the sim.

Credit for this bug goes to "cppcheck".

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30345 a1c6a512-1295-4272-9138-f99709370657
apps/plugins/resistor.c