Revision: 43715 http://brlcad.svn.sourceforge.net/brlcad/?rev=43715&view=rev Author: bob1961 Date: 2011-03-05 00:30:36 +0000 (Sat, 05 Mar 2011)
Log Message: ----------- Fixed a bug in libged/nirt.c that was tripping in the /* skip commands */ section of the windows specific code when an object being passed to nirt contained -e in its name. Modified Paths: -------------- brlcad/trunk/src/libged/nirt.c Modified: brlcad/trunk/src/libged/nirt.c =================================================================== --- brlcad/trunk/src/libged/nirt.c 2011-03-05 00:28:51 UTC (rev 43714) +++ brlcad/trunk/src/libged/nirt.c 2011-03-05 00:30:36 UTC (rev 43715) @@ -409,7 +409,7 @@ for (i=1; i<gedp->ged_gdp->gd_rt_cmd_len; i++) { /* skip commands */ - if (strstr(gedp->ged_gdp->gd_rt_cmd[i], "-e") != NULL) + if (!strcmp(gedp->ged_gdp->gd_rt_cmd[i], "-e")) ++i; else { /* append other arguments (i.e. options, file and obj(s)) */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ BRL-CAD Source Commits mailing list brlcad-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-commits