From b8a50eb52e9d39a34a936ff51698889f2c697f66 Mon Sep 17 00:00:00 2001 From: Linus Nielsen Feltzing Date: Sun, 27 Jun 2004 09:37:15 +0000 Subject: Fixed a glitch in the Recorder status bar volume icon display, bug #898145 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4807 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/icons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/recorder/icons.c b/apps/recorder/icons.c index e06923c582..fc7a18ef31 100644 --- a/apps/recorder/icons.c +++ b/apps/recorder/icons.c @@ -232,7 +232,6 @@ void statusbar_icon_volume(int percent) else { if (last_volume != volume) { switch_tick = current_tick + HZ; - last_volume = volume; } /* display volume level numerical? */ @@ -258,6 +257,7 @@ void statusbar_icon_volume(int percent) } } } + last_volume = volume; } /* -- cgit v1.2.3