summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:16:47 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-17 21:16:47 (GMT)
commit6628f106b262828e656b741087da141dea6a58eb (patch)
treeea6fe38ab1c38de9064053d2694ae9e071e033ec
parent25efdb60d009bd10bd0586744245c7bde17f40da (diff)
downloadtk-6628f106b262828e656b741087da141dea6a58eb.zip
tk-6628f106b262828e656b741087da141dea6a58eb.tar.gz
tk-6628f106b262828e656b741087da141dea6a58eb.tar.bz2
Fix the escaping of leading dots in lines that start with
a widget name, so that nroff doesn't mistake it as a non-existing macro and skips the entire line
-rw-r--r--ChangeLog6
-rw-r--r--doc/pack.n2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index b59cb29..a969a2b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-11-17 Jan Nijtmans <nijtmans@users.sf.net>
+
+ * doc/pack.n: Fix the escaping of leading dots in lines that start with
+ a widget name, so that nroff doesn't mistake it as a non-existing macro
+ and skips the entire line.
+
2011-11-17 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
* generic/tkCanvas.c: [Bug 3437816]: Missing TCL_ERROR return
diff --git a/doc/pack.n b/doc/pack.n
index 33c8203..13c9e0f 100644
--- a/doc/pack.n
+++ b/doc/pack.n
@@ -264,7 +264,7 @@ label .b \-text "This widget is at the bottom" \-bg green
label .l \-text "Left\\nHand\\nSide"
label .r \-text "Right\\nHand\\nSide"
text .mid
-\.mid insert end "This layout is like Java's BorderLayout"
+\&.mid insert end "This layout is like Java's BorderLayout"
# Lay them out
\fBpack\fR .t \-side top \-fill x
\fBpack\fR .b \-side bottom \-fill x