diff --git a/girepository/tools/generate.c b/girepository/tools/generate.c index 01f47767c..8fb8aea84 100644 --- a/girepository/tools/generate.c +++ b/girepository/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) {