diff options
author | Shaun McCance <shaunm@gnome.org> | 2010-06-01 17:56:46 -0500 |
---|---|---|
committer | Shaun McCance <shaunm@gnome.org> | 2010-06-01 17:56:46 -0500 |
commit | b7a30d538d6fa67653e097863c27abfa92788d5a (patch) | |
tree | 3b6ea2920e6c85b008a49dd0b45334da309e533a | |
parent | 0f2ca490cfea9860b440ed646919c1efc40a9e08 (diff) | |
download | yelp-b7a30d538d6fa67653e097863c27abfa92788d5a.tar.gz |
[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.
-rw-r--r-- | 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 a78f3334..49efe9ff 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); |