Fix the assignment of control values by using the right variable for indexing.

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/lennart@1888 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Tanu Kaskinen 2007-09-22 08:39:07 +00:00
parent 1c44be2a7b
commit ecad937409

View file

@ -471,7 +471,7 @@ int pa__init(pa_module*m) {
pa_assert(h < n_control);
if (use_default[c]) {
if (use_default[h]) {
LADSPA_Data lower, upper;
if (!LADSPA_IS_HINT_HAS_DEFAULT(hint)) {