From 16fb843c9bc871c2d155d1bcf1b3edcc37b6b4ed Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 1 Dec 2021 15:25:25 +0100 Subject: [PATCH] tag/MixRamp: fix typo which broken MixRamp Fixes regression by commit 8e0d810968 which is 2 years old, and nobody noticed. D'oh, how embarassing! --- NEWS | 2 ++ src/tag/MixRamp.cxx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 543e7103f..fa46ec78d 100644 --- a/NEWS +++ b/NEWS @@ -4,6 +4,8 @@ ver 0.23.5 (not yet released) - fix "searchaddpl" bug (bogus error "Bad position") * database - upnp: fix crash bug +* tags + - fix MixRamp support * migrate to PCRE2 * GCC 12 build fixes diff --git a/src/tag/MixRamp.cxx b/src/tag/MixRamp.cxx index a2a9f87c1..02a2a52f1 100644 --- a/src/tag/MixRamp.cxx +++ b/src/tag/MixRamp.cxx @@ -36,7 +36,7 @@ ParseMixRampTagTemplate(MixRampInfo &info, const T t) noexcept } const auto end = t["mixramp_end"]; - if (!start.IsNull()) { + if (!end.IsNull()) { info.SetEnd(std::string(end.data, end.size)); return true; }