Browse Source

Fix LS crash on close

tags/1.9.4
falkTX 11 years ago
parent
commit
cb43a89ff1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      source/backend/plugin/LinuxSamplerPlugin.cpp

+ 2
- 2
source/backend/plugin/LinuxSamplerPlugin.cpp View File

@@ -312,7 +312,7 @@ public:

if (pData->engine->isOffline())
{
fEngineChannel->PrepareLoadInstrument((const char*)pData->filename, rIndex);
fEngineChannel->PrepareLoadInstrument(pData->filename, rIndex);
fEngineChannel->LoadInstrument();
}
else
@@ -1050,7 +1050,7 @@ public:
fRealName = info.InstrumentName.c_str();
fLabel = info.Product.c_str();
fMaker = info.Artists.c_str();
pData->filename = filename;
pData->filename = carla_strdup(filename);

if (kUses16Outs && ! fLabel.endsWith(" (16 outs)"))
fLabel += " (16 outs)";


Loading…
Cancel
Save