|
From: <no...@tc...> - 2025-11-02 04:04:00
|
Automated mail by fx, on behalf of no...@tc... Ticket Change [87bcf60b2d392f52140152e9f72db03fcc7f344e636c0688c6aa7f55c924ea70] [Ico: unknown variable in ico::Show] By anonymous For Tklib On 2025-11-02T03:50:26.779 Details https://core.tcl-lang.org/tklib/tinfo?name=87bcf60b2d392f52140152e9f72db03fcc7f344e636c0688c6aa7f55c924ea70 Ticket https://core.tcl-lang.org/tklib/tktview/9b8d7fa5bd3470b815d59144a3e7f684b8350e4a Changed Fields assignee: aku comment: The code for ico::Show uses a variable $x when indicating that an icon is not supported Error in startup script: can't read "x": no such variable while executing "label $sf.lbl$wname-$x -anchor w -text $txt" (procedure "ico::Show" line 45) invoked from within "ico::Show $fn" The fix is easy: just use $name instead of $x label $sf.lbl$wname-$name -anchor w -text $txt just as for the 'else' branch - Torsten (be...@ty...) login: anonymous ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |