Ignore:
Timestamp:
Sep 20, 2012, 12:46:32 PM (12 years ago)
Author:
ldelgass
Message:

sync with trunk

Location:
branches/nanovis2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/nanovis2

  • branches/nanovis2/gui/scripts/htmlviewer.tcl

    r2981 r3175  
    304304        if {"" != $node} {
    305305            set bbox [$itk_component(html) bbox $node]
    306             set realht [expr {[lindex $bbox 3]-[lindex $bbox 1]}]
     306            if { [llength $bbox] == 4 } {
     307                set realht [expr {[lindex $bbox 3]-[lindex $bbox 1]}]
     308            }
    307309        }
    308310        if {$itk_option(-maxlines) > 0} {
Note: See TracChangeset for help on using the changeset viewer.