--- qsampler/trunk/src/qsamplerChannel.cpp 2007/10/05 12:31:00 1385 +++ qsampler/trunk/src/qsamplerChannel.cpp 2007/10/05 17:41:49 1386 @@ -19,6 +19,7 @@ *****************************************************************************/ +#include "qsamplerUtilities.h" #include "qsamplerAbout.h" #include "qsamplerChannel.h" @@ -202,7 +203,13 @@ if (m_iInstrumentStatus == 100 && m_sInstrumentFile == sInstrumentFile && m_iInstrumentNr == iInstrumentNr) return true; - if (::lscp_load_instrument_non_modal(pMainForm->client(), sInstrumentFile.latin1(), iInstrumentNr, m_iChannelID) != LSCP_OK) { + if ( + ::lscp_load_instrument_non_modal( + pMainForm->client(), + lscpEscapePath(sInstrumentFile).latin1(), + iInstrumentNr, m_iChannelID + ) != LSCP_OK + ) { appendMessagesClient("lscp_load_instrument"); return false; }