diff options
author | Robin Gareus <robin@gareus.org> | 2020-02-13 03:12:14 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2020-02-13 03:12:14 +0100 |
commit | 3cb4678bb313c70710a8b2810cb5a65b3656165e (patch) | |
tree | 6cac18245dd6842b3782d1f2d06358d29150ec05 /libs | |
parent | 46a6f47362d56955c3f5cca2943029f042df1e7c (diff) |
FP8: don't send non-ASCII chars to scribble-strip
In particular the degree sign (\u00B0) used by Mixbus' panner
caused issues.
Diffstat (limited to 'libs')
-rw-r--r-- | libs/surfaces/faderport8/fp8_base.h | 3 |
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; |