Revision: 48485
http://brlcad.svn.sourceforge.net/brlcad/?rev=48485&view=rev
Author: erikgreenwald
Date: 2012-01-12 14:02:04 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
move the argv test to after the advance. Cov1524
Modified Paths:
--------------
brlcad/trunk/src/conv/g-egg.c
Modified: brlcad/trunk/src/conv/g-egg.c
===================================================================
--- brlcad/trunk/src/conv/g-egg.c 2012-01-12 13:51:42 UTC (rev 48484)
+++ brlcad/trunk/src/conv/g-egg.c 2012-01-12 14:02:04 UTC (rev 48485)
@@ -283,9 +283,9 @@
/* Open brl-cad database */
argc -= bu_optind;
+ argv += bu_optind;
if(argc < 2 || argv[0] == NULL || argv[1] == NULL)
bu_exit(1, usage, argv[0]);
- argv += bu_optind;
gcvwriter.func = nmg_to_egg;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits