Audio stability, snapshots

This commit is contained in:
Robin Davies
2024-10-06 00:00:20 -04:00
parent 9d4cc6e978
commit 472703627e
27 changed files with 956 additions and 844 deletions
+2 -2
View File
@@ -34,12 +34,12 @@ class Copyrights {
static std::string trim(const std::string&value)
{
size_t start = 0;
while (start < value.length() && value[start] == ' ' || value[start] == '\t')
while (start < value.length() && (value[start] == ' ' || value[start] == '\t'))
{
++start;
}
size_t end = value.length();
while (end > start && value[end-1] == ' ' || value[end-1] == '\t')
while (end > start && (value[end-1] == ' ' || value[end-1] == '\t'))
{
--end;
}