[vala] girwriter: Fix fixed-length arrays
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] girwriter: Fix fixed-length arrays
- Date: Sat, 16 Oct 2010 07:55:06 +0000 (UTC)
commit cb9dd814810fd764999f04a59e1b8dc6737d02de
Author: Jürg Billeter <j bitron ch>
Date: Sat Oct 16 09:54:03 2010 +0200
girwriter: Fix fixed-length arrays
Fixes bug 631529.
codegen/valagirwriter.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagirwriter.vala b/codegen/valagirwriter.vala
index edfee19..b64a8af 100644
--- a/codegen/valagirwriter.vala
+++ b/codegen/valagirwriter.vala
@@ -850,7 +850,7 @@ public class Vala.GIRWriter : CodeVisitor {
write_indent ();
buffer.append_printf ("<array");
if (array_type.fixed_length) {
- buffer.append_printf (" fixed-length\"%i\"", array_type.length);
+ buffer.append_printf (" fixed-size=\"%i\"", array_type.length);
} else if (index != -1) {
buffer.append_printf (" length=\"%i\"", index + 1);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]