diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2011-12-13 11:22:43 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2011-12-13 11:22:43 (GMT) |
commit | aade3501c09273bd682cd0c3cd0955a2df0e02ba (patch) | |
tree | aab1fe13da57ec81701a43c2b03896ab83ee4469 | |
parent | a171ce15f5cc1786397352ff4780563ebbe216b8 (diff) | |
download | tk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.zip tk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.tar.gz tk-aade3501c09273bd682cd0c3cd0955a2df0e02ba.tar.bz2 |
Make example follow best practices.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | doc/getOpenFile.n | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +2011-12-13 Donal K. Fellows <dkf@users.sf.net> + + * doc/getOpenFile.n: Make example follow best practices. Issue spotted + by Emiliano Gavilan. + 2011-11-29 Donal K. Fellows <dkf@users.sf.net> * tests/safe.test: [Bug 1847925]: Update list of hidden commands. 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 |