summaryrefslogtreecommitdiff
path: root/apps/gui
diff options
context:
space:
mode:
authorAlexander Levin <al.le@rockbox.org>2009-06-20 21:13:24 +0000
committerAlexander Levin <al.le@rockbox.org>2009-06-20 21:13:24 +0000
commit8589fcb3e3e0744b208ce5e8099fdf12e46ba9c2 (patch)
treeaac31dccb328366674c0284cba2d9a86ca3dfe4e /apps/gui
parent01bcd2c6121fa0ae1797ef11c02be298574f4fdb (diff)
Merge the "Replaygain Off" option into the replaygain type; eliminate the "On/Off" setting (FS#10356). All WPS tags should work as before.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21414 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/gui')
-rw-r--r--apps/gui/gwps-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c
index 9cfff4cba8..f480f616a2 100644
--- a/apps/gui/gwps-common.c
+++ b/apps/gui/gwps-common.c
@@ -1227,7 +1227,7 @@ static const char *get_token_value(struct gui_wps *gwps,
{
int val;
- if (global_settings.replaygain == 0)
+ if (global_settings.replaygain_type == REPLAYGAIN_OFF)
val = 1; /* off */
else
{