summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authordonal.k.fellows@manchester.ac.uk <dkf>2011-12-13 11:22:43 (GMT)
committerdonal.k.fellows@manchester.ac.uk <dkf>2011-12-13 11:22:43 (GMT)
commit60c268f889da8998cfb0537aeb7306784036382d (patch)
treeaab1fe13da57ec81701a43c2b03896ab83ee4469 /doc
parent699db7b613c86d66c4876c61af0e0bbb24166ae2 (diff)
downloadtk-60c268f889da8998cfb0537aeb7306784036382d.zip
tk-60c268f889da8998cfb0537aeb7306784036382d.tar.gz
tk-60c268f889da8998cfb0537aeb7306784036382d.tar.bz2
Make example follow best practices.
Diffstat (limited to 'doc')
-rw-r--r--doc/getOpenFile.n4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/getOpenFile.n b/doc/getOpenFile.n
index 7ebae67..8274259 100644
--- a/doc/getOpenFile.n
+++ b/doc/getOpenFile.n
@@ -182,9 +182,9 @@ set types {
{{GIF Files} {} GIFF}
{{All Files} * }
}
-set filename [tk_getOpenFile \-filetypes $types]
+set filename [\fBtk_getOpenFile\fR \-filetypes $types]
-if {$filename != ""} {
+if {$filename ne ""} {
# Open the file ...
}
.CE