summaryrefslogtreecommitdiffstats
path: root/lib/rbcodec/metadata/replaygain.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbcodec/metadata/replaygain.c')
-rw-r--r--lib/rbcodec/metadata/replaygain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbcodec/metadata/replaygain.c b/lib/rbcodec/metadata/replaygain.c
index 5e8c3a364a..7aa77cfedd 100644
--- a/lib/rbcodec/metadata/replaygain.c
+++ b/lib/rbcodec/metadata/replaygain.c
@@ -43,7 +43,7 @@ void replaygain_itoa(char* buffer, int length, long int_gain)
/* int_gain uses Q19.12 format. */
int one = abs(int_gain) >> FP_BITS;
int cent = ((abs(int_gain) & 0x0fff) * 100 + (FP_ONE/2)) >> FP_BITS;
- snprintf(buffer, length, "%s%d.%02d dB", (int_gain<0) ? "-":"", one, cent);
+ snprintf(buffer, length, "%s%d.%02d dB", (int_gain<0) ? "-":"+", one, cent);
}
static long fp_atof(const char* s, int precision)