missing {} in the expr below.
Lio.
----- Original Message -----
> Revision: 8090
> http://svn.sourceforge.net/amsn/?rev=8090&view=rev
> Author: kakaroto
> Date: 2007-02-26 12:46:11 -0800 (Mon, 26 Feb 2007)
>
> Modified: trunk/amsn/amsncore.tcl
> ===================================================================
> --- trunk/amsn/amsncore.tcl 2007-02-26 20:00:55 UTC (rev 8089)
> +++ trunk/amsn/amsncore.tcl 2007-02-26 20:46:11 UTC (rev 8090)
> @@ -185,7 +185,7 @@
> # 'Missing' image commands #
> ################################################
> proc ImageExists {img} {
> - return [expr {([catch {image type $img}]* -1) + 1}]
> + return [expr ![catch {image type $img}]]
> }
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Amsn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amsn-devel