Changeset 6123
- Timestamp:
- Mar 11, 2016, 5:07:53 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/gui/scripts/drawingentry.tcl
r5679 r6123 578 578 } 579 579 } 580 set contents [ XmlGetSubst $cpath.contents]580 set contents [string trim [XmlGetSubst $cpath.contents]] 581 581 set img "" 582 582 if { [string compare -length 7 $contents "file://"] == 0 } { … … 602 602 puts stderr "don't know how to handle http" 603 603 return 604 } else {604 } elseif { $contents != "" } { 605 605 set img [image create photo -data $contents] 606 606 } 607 if {$img eq""} {607 if {$img == ""} { 608 608 return 609 609 }
Note: See TracChangeset
for help on using the changeset viewer.