Peakmeters: use screens[].getwidth() and not screens[].width as the latter one return...
commit98504701f8270275d11937284eb17c4bcee149c0
authorpeter <peter@a1c6a512-1295-4272-9138-f99709370657>
Sat, 28 Jun 2008 16:59:56 +0000 (28 16:59 +0000)
committerpeter <peter@a1c6a512-1295-4272-9138-f99709370657>
Sat, 28 Jun 2008 16:59:56 +0000 (28 16:59 +0000)
treeaff899052cad600e0e8f2344562f859430378cd5
parent7da087b27a485a4c528631be861536680abe17d5
Peakmeters: use screens[].getwidth() and not screens[].width as the latter one returns the LCD width (which really shouldn't be there) - the former returns the width of the viewport. Do some code police as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17841 a1c6a512-1295-4272-9138-f99709370657
apps/recorder/peakmeter.c