This is the mail archive of the
xconq7@sources.redhat.com
mailing list for the Xconq project.
Re: tree code
- From: Hans Ronne <hronne at telia dot com>
- To: "MA, Dunzi" <tadalunch at s5 dot xrea dot com>
- Cc: xconq7 at sources dot redhat dot com
- Date: Fri, 10 Jan 2003 01:36:42 +0100
- Subject: Re: tree code
- References: <200301082114.h08LEV3L009100@smtp14.dti.ne.jp>
>>'Tree code' for civ game.
>>I'd welcome any comments on this..
>
>Works fine, but I get this error whenever I click within the tree:
>
>Error: Wrong # args: should be "lindex list index"
>
>This error comes from within the BWidget tree code. I remember this problem
>from the last version of your tree code. I think you fixed it then by a
>hack to BWidget that probably is absent from the checked in version of
>BWidget.
I found the problem. It was in my own local copy of BWidget (tree.tcl)
which still contained the above mentioned hack. And the hack is
incompatible with your new improved version of the tree code. So the new
code is OK and I suggest you check it in. Great job!
Hans