When a file jumps between the file lists due to its state changing we
crashed thanks to a stale variable reference within the procedure as we
tried to setup the new icon.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
$new_w image create $lno.0 \
-align center -padx 5 -pady 1 \
-name [lindex $s 1] \
- -image [mapicon $m $path]
+ -image $new_icon
$new_w insert $lno.1 "$path\n"
$new_w conf -state disabled
} elseif {$new_icon != [mapicon $old_m $path]} {