Changeset 6125
- Timestamp:
- Mar 15, 2016, 12:58:21 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/1.5 merged: 6123
- Property svn:mergeinfo changed
-
trunk/gui/scripts/drawingentry.tcl
r5659 r6125 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.