From 703f47458a859c9559c13038246dd37529eba6ff Mon Sep 17 00:00:00 2001 From: "Tim E. Real" Date: Thu, 9 Dec 2010 07:41:47 +0000 Subject: Made MusE the owner of transport object. Improved PosEdit class. --- muse2/muse/osc.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'muse2/muse/osc.cpp') diff --git a/muse2/muse/osc.cpp b/muse2/muse/osc.cpp index 91a3a0ee..0cfb0c23 100644 --- a/muse2/muse/osc.cpp +++ b/muse2/muse/osc.cpp @@ -243,7 +243,9 @@ int oscMessageHandler(const char* path, const char* types, lo_arg** argv, #endif //const char* sub = strstr(p, instance->name().toLatin1().constData()); - const char* sub = strstr(p, instance->label().toLatin1().constData()); + ///const char* sub = strstr(p, instance->label().toLatin1().constData()); + QByteArray ba = instance->label().toLatin1(); + const char* sub = strstr(p, ba.constData()); if(sub == NULL) continue; -- cgit v1.2.3