File browser compatibility, NAM

This commit is contained in:
Robin Davies
2023-06-24 13:49:11 -04:00
parent 38d021a6af
commit 7e0ef9ceb1
57 changed files with 1101 additions and 269 deletions
+7
View File
@@ -61,6 +61,13 @@ int LogFeature::vprintf(LV2_URID type,const char*fmt, va_list va)
result = vsnprintf(p, sizeof(buffer)-messagePrefix.length(), fmt, va);
buffer[sizeof(buffer)-1] = '\0';
// strip trailing \n
size_t len = strlen(buffer);
if (len != 0 && buffer[len-1] == '\n')
{
buffer[len-1] = '\0';
}
if (type == uris.ridError)
{