summaryrefslogtreecommitdiffstats
path: root/noatun-plugins/tippercanoe/synaescope.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun-plugins/tippercanoe/synaescope.cpp')
-rw-r--r--noatun-plugins/tippercanoe/synaescope.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noatun-plugins/tippercanoe/synaescope.cpp b/noatun-plugins/tippercanoe/synaescope.cpp
index 4a617ee..b33b71d 100644
--- a/noatun-plugins/tippercanoe/synaescope.cpp
+++ b/noatun-plugins/tippercanoe/synaescope.cpp
@@ -82,7 +82,7 @@ void SynaeScope::scopeEvent(float *left, float *right, int size)
void SynaeScope::read(KProcess *, char *buf, int)
{
TQString num = TQString::tqfromLatin1(buf);
- num = num.left(num.tqfind(TQRegExp("\\s")));
+ num = num.left(num.find(TQRegExp("\\s")));
id = num.toInt();
embed->embed(id);
}