summaryrefslogtreecommitdiffstats
path: root/apps/recorder/peakmeter.c
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2007-03-19 16:49:55 +0000
committerNils Wallménius <nils@rockbox.org>2007-03-19 16:49:55 +0000
commitb41e93ae6386da655ed8635a16f2d2856e84f0ec (patch)
treecbb01044c5bc7d7cd1ce117354993435166ad270 /apps/recorder/peakmeter.c
parentca8f7bf3528b471a896a0a954e71493ee4369392 (diff)
downloadrockbox-b41e93ae6386da655ed8635a16f2d2856e84f0ec.tar.gz
rockbox-b41e93ae6386da655ed8635a16f2d2856e84f0ec.zip
Draw peakmeter scale marks in foreground color instead of inversed background color, fixes FS #6855
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12840 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/peakmeter.c')
-rw-r--r--apps/recorder/peakmeter.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index 0e729f6f34..25e8ec47a8 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -998,7 +998,6 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales,
/* draw scale end */
display->vline(x + meterwidth, y, y + height - 2);
- display->set_drawmode(DRMODE_COMPLEMENT);
/* draw dots for scale marks */
for (i = 0; i < db_scale_count; i++) {
/* The x-coordinates of interesting scale mark points
@@ -1053,7 +1052,7 @@ void peak_meter_draw(struct screen *display, struct meter_scales *scales,
#endif /*HAVE_RECORDING*/
#ifdef PM_DEBUG
- /* display a bar to show how many calls to peak_meter_peek
+ /* display a bar to show how many calls to peak_meter_peek
have ocurred since the last display */
display->set_drawmode(DRMODE_COMPLEMENT);
display->fillrect(x, y, tmp, 3);