Small bug in DirectSound - findBestMatchForName()


#1

in juce_win32_DirectSound.cpp, line 979 :

for (int j = tokens1.size(); --j >= 0;) if (tokens2.contains (tokens1[i])) ++matches;

should be :

for (int j = tokens1.size(); --j >= 0;)
            if (tokens2.contains (tokens1[j]))
                ++matches;[/code]

#2

wow - yes, you’re quite right. :oops:


#3