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:
parent
1b13b75f49
commit
b6909aeaba
@ -79,6 +79,7 @@ status_t BSoftSynth::SetDefaultInstrumentsFile()
|
||||
if (B_OK == find_directory(
|
||||
B_SYNTH_DIRECTORY, NULL, false, buf, B_PATH_NAME_LENGTH))
|
||||
{
|
||||
strcat(buf, "/");
|
||||
strcat(buf, B_BIG_SYNTH_FILE);
|
||||
return SetInstrumentsFile(buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user