Revision: 42215
http://brlcad.svn.sourceforge.net/brlcad/?rev=42215&view=rev
Author: brlcad
Date: 2011-01-13 05:46:16 +0000 (Thu, 13 Jan 2011)
Log Message:
-----------
another COMMA case
Modified Paths:
--------------
brlcad/trunk/src/conv/iges/readglobal.c
Modified: brlcad/trunk/src/conv/iges/readglobal.c
===================================================================
--- brlcad/trunk/src/conv/iges/readglobal.c 2011-01-13 05:38:03 UTC (rev
42214)
+++ brlcad/trunk/src/conv/iges/readglobal.c 2011-01-13 05:46:16 UTC (rev
42215)
@@ -30,6 +30,8 @@
/* IGES Version */
#define NO_OF_VERSIONS 10
+#define COMMA ','
+
char *iges_version[NO_OF_VERSIONS]={
" ",
"1.0",
@@ -43,8 +45,7 @@
"5.1" };
void
-Readglobal(file_count)
- int file_count;
+Readglobal(int file_count)
{
int field=2, i;
@@ -53,7 +54,7 @@
/* Get End-of-field delimiter */
- if (card[counter] != ', ') {
+ if (card[counter] != COMMA) {
counter--;
while (card[++counter] == ' ');
if (card[counter] != '1' || card[counter+1] != 'H') {
@@ -67,7 +68,7 @@
eof = card[++counter];
while (card[++counter] != eof);
} else
- eof = ', ';
+ eof = COMMA;
/* Get End-of-record delimiter */
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand
malware threats, the impact they can have on your business, and how you
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits