[haiku-commits] haiku: hrev47888 - src/kits/midi

  • From: stefano.ceccherini@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 20 Sep 2014 19:10:35 +0200 (CEST)

hrev47888 adds 1 changeset to branch 'master'
old head: bee3de4dbbff09f90bfa2a67df4f9d37e60cd5ac
new head: 6cd948da2a8c45b9e942e8d87d3361d03b8ad788
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=6cd948d+%5Ebee3de4

----------------------------------------------------------------------------

6cd948d: Midi Kit: Actually look in /home/config/settings/synth/synth.sf2

                       [ Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev47888
Commit:      6cd948da2a8c45b9e942e8d87d3361d03b8ad788
URL:         http://cgit.haiku-os.org/haiku/commit/?id=6cd948d
Author:      Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
Date:        Sat Sep 20 17:08:34 2014 UTC

----------------------------------------------------------------------------

1 file changed, 1 insertion(+)
src/kits/midi/SoftSynth.cpp | 1 +

----------------------------------------------------------------------------

diff --git a/src/kits/midi/SoftSynth.cpp b/src/kits/midi/SoftSynth.cpp
index 58ea09b..3d2c583 100644
--- a/src/kits/midi/SoftSynth.cpp
+++ b/src/kits/midi/SoftSynth.cpp
@@ -88,6 +88,7 @@ BSoftSynth::SetDefaultInstrumentsFile()
        // in the user settings directory
        BPath path;
        if (find_directory(B_USER_SETTINGS_DIRECTORY, &path, false, NULL) == 
B_OK) {
+               path.Append("/synth/");
                path.Append(kSynthFileName);
                if (BEntry(path.Path()).Exists())
                        return SetInstrumentsFile(path.Path());


Other related posts: