Commit 83c1a127 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Merge pull request #214 from ellert/missing-spaces

Bug 651848 & 652276 - Missing spaces in man page output
parents 808b6174 4bbcf71d
Loading
Loading
Loading
Loading
+10 −3
Original line number Diff line number Diff line
@@ -270,8 +270,11 @@ static bool writeDefArgumentList(OutputList &ol,ClassDef *cd,
      //{
      //  ol.docify(" ");
      //}
      ol.disable(OutputGenerator::Man);
      ol.disable(OutputGenerator::Latex);
      ol.disable(OutputGenerator::Html);
      ol.docify(" "); /* man page */
      if (htmlOn) ol.enable(OutputGenerator::Html);
      ol.disable(OutputGenerator::Man);
      ol.startEmphasis();
      ol.enable(OutputGenerator::Man);
      if (latexOn) ol.enable(OutputGenerator::Latex);
@@ -1666,11 +1669,15 @@ void MemberDef::writeDeclaration(OutputList &ol,
  // *** write arguments
  if (argsString() && !isObjCMethod())
  {
    if (!isDefine()) ol.writeString(" ");
    if (!isDefine() && !isTypedef()) ol.writeString(" ");
    linkifyText(TextGeneratorOLImpl(ol), // out
                d,                       // scope
                getBodyDef(),            // fileScope
                this,                    // self
                isDefine() ?
                   (const char*)substitute(argsString(),",",", ") :
                isTypedef() ?
                   (const char*)substitute(argsString(),")(",") (") :
                   argsString(),         // text
                m_impl->annMemb,         // autoBreak
                TRUE,                    // external
+2 −2

File changed.

Contains only whitespace changes.