[gtk-doc] Use a non-breaking space in function types



commit 346fb61286d3e5e5276beaacb6d5ae7af0e629ca
Author: William Jon McCann <william jon mccann gmail com>
Date:   Mon Feb 10 21:00:22 2014 -0500

    Use a non-breaking space in function types
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724099

 gtkdoc-mkdb.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
index 89ceef1..aa67a18 100755
--- a/gtkdoc-mkdb.in
+++ b/gtkdoc-mkdb.in
@@ -2190,7 +2190,7 @@ sub OutputFunction {
     # We output const rather than G_CONST_RETURN.
     $type_modifier =~ s/G_CONST_RETURN/const/g;
     $pointer =~ s/G_CONST_RETURN/const/g;
-    $pointer =~ s/^\s+/ /g;
+    $pointer =~ s/^\s+/&#160;/g;
 
     my $ret_type_len = length ($start) + length ($type_modifier)+ length ($type)
         + length ($pointer);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]