This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
Carla
mirror of
https://github.com/falkTX/Carla
Watch
1
Star
0
Fork
0
Code
Releases
42
Activity
Browse Source
Fix pipe UI message with empty value
Signed-off-by: falkTX <falktx@falktx.com>
tags/v2.3.0-RC1
falkTX
4 years ago
parent
9c1e07c047
commit
05a400d01f
Signed by:
falkTX
<falktx@falktx.com>
GPG Key ID:
CDBAA37ABC74FBA0
1 changed files
with
7 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-1
source/utils/CarlaPipeUtils.cpp
+ 7
- 1
source/utils/CarlaPipeUtils.cpp
View File
@@ -1209,9 +1209,15 @@ const char* CarlaPipeCommon::_readline(const bool allocReturn, const uint16_t si
#endif
} CARLA_SAFE_EXCEPTION_BREAK("CarlaPipeCommon::readline() - read");
if (ret != 1
|| c == '\n'
)
if (ret != 1)
break;
if (c == '\n')
{
*ptr = '\0';
break;
}
if (c == '\r')
c = '\n';
Write
Preview
Loading…
Cancel
Save