summaryrefslogtreecommitdiffstats
path: root/doc/getOpenFile.n
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-12-13 11:22:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-12-13 11:22:43 (GMT)
commitaade3501c09273bd682cd0c3cd0955a2df0e02ba (patch)
treeaab1fe13da57ec81701a43c2b03896ab83ee4469 /doc/getOpenFile.n
parenta171ce15f5cc1786397352ff4780563ebbe216b8 (diff)
downloadtk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.zip
tk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.tar.gz
tk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.tar.bz2
Make example follow best practices.
Diffstat (limited to 'doc/getOpenFile.n')
-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