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:
mahlzeit 2004-05-13 17:06:06 +00:00
parent 1b13b75f49
commit b6909aeaba

View File

@ -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);
}