From d2a88cfaad5ac385fc3c6212c09ad7fbc38e9454 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Mon, 28 May 2012 14:15:52 +0000 Subject: merged with release_2_0 --- muse2/synti/fluid/fluidgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'muse2/synti/fluid') diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp index ec1c77b7..c9477b6b 100644 --- a/muse2/synti/fluid/fluidgui.cpp +++ b/muse2/synti/fluid/fluidgui.cpp @@ -79,7 +79,7 @@ void FLUIDGui::loadFont() } QByteArray ba = pathEntry->text().toLatin1(); const char* path = ba.constData(); - int len = strlen(path) + 1 + 3; + int len = ba.length() + 1 + 3; unsigned char buffer[len]; int k = 0; buffer[k++] = MUSE_SYNTH_SYSEX_MFG_ID; -- cgit v1.2.3