At 06:36 PM 05/22/00 -0700, you wrote:
>Going from 1.2.0 to 1.2.1 I see a problem with
>fonts. If I set a font to {courier 8} with or
>without the {}'s, when I save, the {}'s are not
>output. Thus on reloading, there is a failure, in
>this case saying something about a bad option 8 since
>the code output does not put back the {}'s.
>
>eric

The problem is in 
libs/dump.tcl 
proc vTcl:get_opts_special

The line

    lappend ret $o $v

loses the fact that $v can be a 2 element string.

As a workaround for my own use, i wrote this:

if {$o == "-font"} {    
    lappend ret $o \{$v\}
} else {
    lappend ret $o $v
}

to re-apply the {}'s for the -font attribute

eric



_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/vtcl-user

Reply via email to