Plugin Presets.

This commit is contained in:
Robin Davies
2022-03-02 13:26:59 -05:00
parent f677b8b608
commit 2869ec0e00
32 changed files with 2401 additions and 914 deletions
+3 -3
View File
@@ -614,7 +614,6 @@ void json_reader::throw_format_error(const char*error)
} else {
for (int i = 0; i < 40; ++i)
{
if (is_.peek()) break;
int c = get();
if (c == -1) break;
if (c == '\r') {
@@ -623,11 +622,12 @@ void json_reader::throw_format_error(const char*error)
{
s << "\\n";
} else {
s << c;
s << (char)c;
}
}
}
s << "'.";
throw PiPedalException(s.str());
std::string message = s.str();
throw PiPedalException(message);
}