diff options
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget')
-rwxr-xr-x | systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget b/systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget index 774125a13e..1530ac5034 100755 --- a/systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget +++ b/systems/texlive/tlnet/tlpkg/tltcl/lib/tk8.6/demos/widget @@ -624,7 +624,7 @@ proc showCode w { wm title $top [mc "Demo code: %s" [file join $tk_demoDirectory $file]] wm iconname $top $file set id [open [file join $tk_demoDirectory $file]] - fconfigure $id -encoding utf-8 -eofchar \032 + fconfigure $id -encoding utf-8 -eofchar "\032 {}" $top.f.text delete 1.0 end $top.f.text insert 1.0 [read $id] $top.f.text mark set insert 1.0 |