Skip to content

Commit f7df818

Browse files
author
smeyer
committed
tweak r88232
git-svn-id: https://svn.r-project.org/R/trunk@88233 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 7a4a5dd commit f7df818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library/tools/R/Rd2txt.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ Rd2txt <-
895895
keepFirstIndent <<- TRUE
896896
linebreak <- identical(opts$descStyle, "linebreak")
897897
suffix <- if (identical(opts$descStyle, "colon")
898-
&& !endsWith(DLlab, ":")) ": "
898+
&& !endsWith(DLlab[length(DLlab)], ":")) ": "
899899
else if (!linebreak) " "
900900
putw(strrep(" ", indent0), DLlab, suffix)
901901
if (linebreak) blankLine(0L)

0 commit comments

Comments
 (0)