Revision: 41291
http://brlcad.svn.sourceforge.net/brlcad/?rev=41291&view=rev
Author: bob1961
Date: 2010-11-08 23:31:04 +0000 (Mon, 08 Nov 2010)
Log Message:
-----------
Minor mod to _bu_struct_lookup(). Apparently the 'i' is not prepended with a
'%' so using sp_fmt[0] when comparing with 'i' is correct for this case only.
Modified Paths:
--------------
brlcad/trunk/src/libbu/parse.c
Modified: brlcad/trunk/src/libbu/parse.c
===================================================================
--- brlcad/trunk/src/libbu/parse.c 2010-11-08 23:21:42 UTC (rev 41290)
+++ brlcad/trunk/src/libbu/parse.c 2010-11-08 23:31:04 UTC (rev 41291)
@@ -604,7 +604,7 @@
for (; sdp->sp_name != (char *)0; sdp++) {
if (strcmp(sdp->sp_name, name) != 0 /* no name match */
- && sdp->sp_fmt[1] != 'i'
+ && sdp->sp_fmt[0] != 'i'
&& sdp->sp_fmt[1] != 'p') /* no include desc */
continue;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a
Billion" shares his insights and actions to help propel your
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits