Commit fb5efa69 authored by Jürg Billeter's avatar Jürg Billeter

girparser: Fix hidden parameters at the end of the parameter list

parent 1fdea31e
...@@ -1163,6 +1163,10 @@ public class Vala.GirParser : CodeVisitor { ...@@ -1163,6 +1163,10 @@ public class Vala.GirParser : CodeVisitor {
j++; j++;
} else { } else {
info.keep = false; info.keep = false;
// make sure that vala_idx is always set
// the above if branch does not set vala_idx for
// hidden parameters at the end of the parameter list
info.vala_idx = (j - 1) + (i - last) * 0.1F;
} }
i++; i++;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment