summaryrefslogtreecommitdiff
path: root/libs/surfaces
diff options
context:
space:
mode:
Diffstat (limited to 'libs/surfaces')
-rw-r--r--libs/surfaces/faderport8/fp8_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/surfaces/faderport8/fp8_base.h b/libs/surfaces/faderport8/fp8_base.h
index 224a58b056..d793f7143e 100644
--- a/libs/surfaces/faderport8/fp8_base.h
+++ b/libs/surfaces/faderport8/fp8_base.h
@@ -110,6 +110,9 @@ public:
for (size_t i = 0; i < txt.size(); ++i)
{
+ if (txt[i] < 0) {
+ continue;
+ }
d.push_back (txt[i]);
if (i >= 8) {
break;