|
From: <and...@us...> - 2010-05-27 09:51:17
|
Revision: 11025
http://plplot.svn.sourceforge.net/plplot/?rev=11025&view=rev
Author: andrewross
Date: 2010-05-27 09:51:11 +0000 (Thu, 27 May 2010)
Log Message:
-----------
Fix tcl support for NULL argument to plstransform.
Modified Paths:
--------------
trunk/bindings/tcl/tclAPI.c
Modified: trunk/bindings/tcl/tclAPI.c
===================================================================
--- trunk/bindings/tcl/tclAPI.c 2010-05-25 15:23:09 UTC (rev 11024)
+++ trunk/bindings/tcl/tclAPI.c 2010-05-27 09:51:11 UTC (rev 11025)
@@ -3404,7 +3404,7 @@
int argc, const char *argv[] )
{
if ( argc == 1
- || argv[1] == "NULL" )
+ || strcmp( argv[1], "NULL" ) == 0 )
{
// The user has requested to clear the transform setting.
plstransform( NULL, NULL );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|