Changeset 3156 for trunk/gui


Ignore:
Timestamp:
Aug 28, 2012 8:11:24 PM (12 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/htmlviewer.tcl

    r3100 r3156  
    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.