commit d698d959981633586499980d18794043709c9b67 parent be5dbe374985249ecdc8c4db5bbc1041db1fae5b Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Wed, 23 Feb 2022 22:48:03 +0100 fix json parsing failing on Mac and Linux, fixes #66 Diffstat:
M | source/jucePlugin/VirusParameterDescriptions.cpp | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source/jucePlugin/VirusParameterDescriptions.cpp b/source/jucePlugin/VirusParameterDescriptions.cpp @@ -25,7 +25,7 @@ namespace Virus const auto end = _json.find(_end, pos + 1); if (end != std::string::npos) - _json.erase(pos, end - pos - 1); + _json.erase(pos, end - pos + 1); else _json.erase(pos);