diff options
author | falkTX <falktx@gmail.com> | 2018-11-08 22:33:19 +0100 |
---|---|---|
committer | falkTX <falktx@gmail.com> | 2018-11-08 22:33:19 +0100 |
commit | 9d283b02f10824d4cd947a7d4b6d16b879f6e761 (patch) | |
tree | 1569bc2819ae576c1418b3f54c4f8033a016c558 /distrho/src/DistrhoPluginVST.cpp | |
parent | 943eb1197ac20cd629ad76b2980364c9d1be4275 (diff) |
Real fix..
Signed-off-by: falkTX <falktx@gmail.com>
Diffstat (limited to 'distrho/src/DistrhoPluginVST.cpp')
-rw-r--r-- | distrho/src/DistrhoPluginVST.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/distrho/src/DistrhoPluginVST.cpp b/distrho/src/DistrhoPluginVST.cpp index e7ac2e54..2d05b782 100644 --- a/distrho/src/DistrhoPluginVST.cpp +++ b/distrho/src/DistrhoPluginVST.cpp @@ -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 { |