|
From: <no...@tc...> - 2025-11-02 04:03:45
|
Automated mail by fx, on behalf of no...@tc... Ticket Change [e525d20a8cb9a2880592a3e745c4db85f107033bea13c1df135b74ef62a6ef8d] [Ico: unknown variable in ico::Show] By anonymous For Tklib On 2025-11-02T03:49:51.173 Details https://core.tcl-lang.org/tklib/tinfo?name=e525d20a8cb9a2880592a3e745c4db85f107033bea13c1df135b74ef62a6ef8d Ticket https://core.tcl-lang.org/tklib/tktview/9b8d7fa5bd3470b815d59144a3e7f684b8350e4a Changed Fields assignee: nobody closer: nobody 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 foundin: 1.1.2 is_private: 0 login: anonymous priority: 5 Medium resolution: None severity: Minor status: Open submitter: anonymous subsystem: tklib :: ico title: Ico: unknown variable in ico::Show type: Bug ------------------------------------------------------------ See Tcl/Tk development @ http://core.tcl-lang.org/ ------------------------------------------------------------ |