Browse Source

Real fix..

Signed-off-by: falkTX <falktx@gmail.com>
pull/83/head
falkTX 5 years ago
parent
commit
9d283b02f1
Signed by: falkTX <falktx@gmail.com> GPG Key ID: 2D3445A829213837
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      distrho/src/DistrhoPluginVST.cpp

+ 1
- 1
distrho/src/DistrhoPluginVST.cpp View File

@@ -76,7 +76,7 @@ void strncpy(char* const dst, const char* const src, const size_t size)
if (const size_t len = std::min(std::strlen(src), size-1U))
{
std::memcpy(dst, src, len);
dst[len-1] = '\0';
dst[len] = '\0';
}
else
{


Loading…
Cancel
Save