From df2fce33fd86ab92355d7fe918d0e69bd275ed4b Mon Sep 17 00:00:00 2001 From: Christine Caulfield Date: Thu, 24 Sep 2020 16:16:36 +0100 Subject: [PATCH] doxygen2man: Remove horrible hack It caused \f macros to get truncated and doesn't actually affect the groffed output anyway --- doxygen2man/doxygen2man.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/doxygen2man/doxygen2man.c b/doxygen2man/doxygen2man.c index 4ea64d349..3069177c0 100644 --- a/doxygen2man/doxygen2man.c +++ b/doxygen2man/doxygen2man.c @@ -998,13 +998,6 @@ static void traverse_members(xmlNode *cur_node, void *arg) cstring_t tmp = get_texttree(&type, this_tag, &returntext, ¬etext); if (!brief) { brief = cstring_to_chars(tmp); - if (strlen(brief) > 2) { - /* - * apparently brief text contains extra trailing space and a \n. - * remove them. - */ - brief[strlen(brief) - 2] = '\0'; - } } else { fprintf(stderr, "ERROR function %s has 2 briefdescription tags\n", name?name:"unknown"); }