From: <vi...@us...> - 2011-05-17 20:33:21
|
Revision: 12325 http://amsn.svn.sourceforge.net/amsn/?rev=12325&view=rev Author: vivia Date: 2011-05-17 20:33:15 +0000 (Tue, 17 May 2011) Log Message: ----------- If the null pixmap is not gfound (the magical bug where aliens abduct it...), create an empty one Modified Paths: -------------- trunk/amsn/skins.tcl Modified: trunk/amsn/skins.tcl =================================================================== --- trunk/amsn/skins.tcl 2011-05-17 12:33:18 UTC (rev 12324) +++ trunk/amsn/skins.tcl 2011-05-17 20:33:15 UTC (rev 12325) @@ -642,6 +642,10 @@ #If we didn't find anything...use null file set path [file join [set ::program_dir] skins $defaultskin $type null] + if { ![file exists $path] } { + catch {set fd [open $path w]} + catch {close $fd} + } return $path } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |