[vala] girparser: Fix parameter index calculation
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girparser: Fix parameter index calculation
- Date: Tue, 29 Jun 2010 19:23:50 +0000 (UTC)
commit 3226586fb5c30c37eac82ac264e075fcb3e53417
Author: Jürg Billeter <j bitron ch>
Date: Tue Jun 29 21:01:18 2010 +0200
girparser: Fix parameter index calculation
vala/valagirparser.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index b545b2d..4d051a3 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -968,7 +968,7 @@ public class Vala.GirParser : CodeVisitor {
for (int k=last+1; k < i; k++) {
parameters[k].vala_idx = last_idx + (((j - last_idx) / (i-last)) * (k-last));
}
- last = i+1;
+ last = i;
j++;
} else {
info.keep = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]