[yelp] [yelp-man-parser] Append \n to avoid running words together



commit b7a30d538d6fa67653e097863c27abfa92788d5a
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Jun 1 17:56:46 2010 -0500

    [yelp-man-parser] Append \n to avoid running words together
    
    Since GDataInputStream doesn't return newlines, we end up running words together
    if the whitespace between them is a newline. This approach might be overzealous.

 libyelp/yelp-man-parser.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libyelp/yelp-man-parser.c b/libyelp/yelp-man-parser.c
index a78f333..49efe9f 100644
--- a/libyelp/yelp-man-parser.c
+++ b/libyelp/yelp-man-parser.c
@@ -1607,6 +1607,7 @@ parser_append_given_text_handle_escapes (YelpManParser *parser, gchar *text, gbo
     c = *(ptr);
     *(ptr) = '\0';
     parser_append_given_text (parser, anc);
+    parser_append_given_text (parser, "\n");
     *(ptr) = c;
    
     g_free (baseptr); 



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