This website works better with JavaScript.
Home
Help
Sign In
DISTRHO
/
DPF
mirror of
https://github.com/DISTRHO/DPF
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Real fix..
Signed-off-by: falkTX <falktx@gmail.com>
pull/83/head
falkTX
5 years ago
parent
943eb1197a
commit
9d283b02f1
Signed by:
falkTX
<falktx@gmail.com>
GPG Key ID:
2D3445A829213837
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
{
Write
Preview
Loading…
Cancel
Save