summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorColin Walters <walters@src.gnome.org>2008-09-19 18:54:50 +0000
committerColin Walters <walters@src.gnome.org>2008-09-19 18:54:50 +0000
commit2a702b4e983f6d6b087b31a91e4e6c1430ceccaa (patch)
treeeca95c79cdd6a563e9b58f1ab594b75d107999e7 /tools
parenta9b997903bbf65c72e6f483342b339d9e315fce5 (diff)
downloadgobject-introspection-2a702b4e983f6d6b087b31a91e4e6c1430ceccaa.tar.gz
Fix indentation
svn path=/trunk/; revision=618
Diffstat (limited to 'tools')
-rw-r--r--tools/generate.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/generate.c b/tools/generate.c
index 01f47767..8fb8aea8 100644
--- a/tools/generate.c
+++ b/tools/generate.c
@@ -92,12 +92,14 @@ write_type_info (const gchar *namespace,
tag = g_type_info_get_tag (info);
is_pointer = g_type_info_is_pointer (info);
- if (tag == GI_TYPE_TAG_VOID) {
- if (is_pointer)
- g_fprintf (file, "%s", "any");
- else
- g_fprintf (file, "%s", "none");
- } else if (tag < 20)
+ if (tag == GI_TYPE_TAG_VOID)
+ {
+ if (is_pointer)
+ g_fprintf (file, "%s", "any");
+ else
+ g_fprintf (file, "%s", "none");
+ }
+ else if (tag < 20)
g_fprintf (file, "%s", basic[tag]);
else if (tag == 20)
{