Tk Library Source Code

Artifact [fc00ac7858]
Login

Artifact fc00ac785864a5d97f4fa0c9f3d370138a2d2059:

Ticket change [fc00ac7858] - New ticket [3295abf0786394dc|3295abf078] <i>ico: incorrect use of $img put</i>. by anonymous 2017-01-09 17:31:11.
D 2017-01-09T17:31:11.549
J assignee nobody
J closer nobody
J cmimetype text/x-fossil-wiki
J comment In\sthe\sico\smodule\sthere\sare\sthe\sfollowing\sfour\slines:\r\n\r\n<verbatim>\r\n/tklib-0.6/modules/ico/ico.tcl(557):\t$img\sput\s-to\s0\s0\s$colors\r\n/tklib-0.6/modules/ico/ico.tcl(563):\s\s\s\s$img\sput\s-to\s$x\s$y\s$clr\r\n/tklib-0.6/modules/ico/ico0.tcl(400):\t$img\sput\s-to\s0\s0\s$colors\r\n/tklib-0.6/modules/ico/ico0.tcl(406):\t$img\sput\s-to\s$x\s$y\s$clr\r\n</verbatim>\r\n\r\nThis\sis\san\sincorrect\suse\sof\sthe\sput\scommand.\sDocumentation\ssays:\r\n\r\n<b>imageName\sput\sdata\s?option\svalue(s)\s...?\s</b>\r\n\r\nHowever\sthe\scode\sin\sthe\sico\smodule\suses:\r\n\r\n<b>imageName\sput\s?option\svalue(s)\s...?\sdata\s</b>\r\n\r\nThe\slatter\sused\sto\sbe\saccepted,\salthough\sundocumented,\sbut\swill\ssoon\sno\slonger\sbe.\sSee:\r\n\r\nhttp://core.tcl.tk/tk/tktview?name=d4fb4e80d2\r\n\r\nFix\sis\seasy\sand\sconsists\sin\sswapping\sthe\sorder\sof\sthe\sdata\sand\sthe\soptions\sarguments.
J foundin trunk
J is_private 0
J login anonymous
J priority 5\sMedium
J private_contact a013af67114eccc19ad12b04f14923acea9e96b7
J resolution None
J severity Minor
J status Open
J submitter anonymous
J subsystem tklib\s::\sico
J title ico:\sincorrect\suse\sof\s$img\sput
J type Bug
K 3295abf0786394dc8bb96ecadc30ce4a57e6af0e
U anonymous
Z 20daf2e4d79739f0393f6ab641de8526