From: <hez...@us...> - 2010-04-19 02:37:31
|
Revision: 10925 http://plplot.svn.sourceforge.net/plplot/?rev=10925&view=rev Author: hezekiahcarty Date: 2010-04-19 02:37:25 +0000 (Mon, 19 Apr 2010) Log Message: ----------- Fix a small bug with command line arguments not being skipped Thanks to David MacMahon for pointing out the error and the fix. Modified Paths: -------------- trunk/src/plargs.c Modified: trunk/src/plargs.c =================================================================== --- trunk/src/plargs.c 2010-04-18 19:45:49 UTC (rev 10924) +++ trunk/src/plargs.c 2010-04-19 02:37:25 UTC (rev 10925) @@ -888,6 +888,8 @@ /* No match. Keep going if mode_skip is set, otherwise abort if * fully parsing, else return without error. */ + status = 0; + if ( mode_skip ) { if ( !mode_nodelete ) @@ -901,7 +903,6 @@ } if ( mode_full ) exit( 1 ); - status = 0; break; } else if ( status == 1 ) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |