diff options
author | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-19 20:01:55 -0500 |
---|---|---|
committer | William Jon McCann <william.jon.mccann@gmail.com> | 2014-02-19 20:01:55 -0500 |
commit | da64d9fa344437079772987026ca0f207a372bca (patch) | |
tree | ce0ba90bb4c289cc4229c228eb31d58db18e9f4f /gtkdoc-mkdb.in | |
parent | 685d03c624c3e5184198e191ac52b77d9b41c0bb (diff) | |
download | gtk-doc-da64d9fa344437079772987026ca0f207a372bca.tar.gz |
Fix showing empty Object Hierarchy
Don't add a newline and then check for an empty string.
Diffstat (limited to 'gtkdoc-mkdb.in')
-rwxr-xr-x | gtkdoc-mkdb.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in index 1c25cb1..6e3db0d 100755 --- a/gtkdoc-mkdb.in +++ b/gtkdoc-mkdb.in @@ -818,12 +818,13 @@ $style_args_desc EOF } - $hierarchy_str = &AddTreeLineArt(\@hierarchy) . "\n"; + $hierarchy_str = &AddTreeLineArt(\@hierarchy); if ($hierarchy_str ne "") { $hierarchy_str = <<EOF; <refsect1 id="$section_id.object-hierarchy" role="object_hierarchy"> <title role="object_hierarchy.title">Object Hierarchy</title> -<screen>$hierarchy_str</screen> +<screen>$hierarchy_str +</screen> </refsect1> EOF } |