[Cmake-commits] [cmake-commits] king committed cmDocumentationFormatterMan.cxx 1.6 1.7
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Mar 6 10:01:17 EST 2009
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv12757/Source
Modified Files:
cmDocumentationFormatterMan.cxx
Log Message:
BUG: Fix man-page preformatted text paragraphing
Man page preformatted text needs an extra newline after the ending
marker to create a paragraph break. This bug was introduced by the
patch from issue #7797 to place explicit ".nf" and ".fi" markers around
preformatted blocks.
Index: cmDocumentationFormatterMan.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmDocumentationFormatterMan.cxx,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** cmDocumentationFormatterMan.cxx 10 Oct 2008 15:23:35 -0000 1.6
--- cmDocumentationFormatterMan.cxx 6 Mar 2009 15:01:14 -0000 1.7
***************
*** 72,76 ****
if (*text && man_text.at(man_text.length()-1) != '\n')
os << "\n";
! os << ".fi\n";
}
--- 72,76 ----
if (*text && man_text.at(man_text.length()-1) != '\n')
os << "\n";
! os << ".fi\n\n";
}
More information about the Cmake-commits
mailing list