Path to default instruments file wasn't calculated properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7567 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -79,6 +79,7 @@ status_t BSoftSynth::SetDefaultInstrumentsFile()
|
|||||||
if (B_OK == find_directory(
|
if (B_OK == find_directory(
|
||||||
B_SYNTH_DIRECTORY, NULL, false, buf, B_PATH_NAME_LENGTH))
|
B_SYNTH_DIRECTORY, NULL, false, buf, B_PATH_NAME_LENGTH))
|
||||||
{
|
{
|
||||||
|
strcat(buf, "/");
|
||||||
strcat(buf, B_BIG_SYNTH_FILE);
|
strcat(buf, B_BIG_SYNTH_FILE);
|
||||||
return SetInstrumentsFile(buf);
|
return SetInstrumentsFile(buf);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user