Commit 1aa51cfe authored by hkrishna's avatar hkrishna

minor fixes with autological compare

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23667 18c085ea-50e0-402c-830e-de6fd14e8384
parent 6a63712f
......@@ -477,7 +477,8 @@ avtKullLiteFileFormat::ClassifyAndAdd3DZone(pdb_mesh3d *mesh3d, int zone,
// Let's grab the nodeId's and store them
if (sharedSlave) // Shared face, grab them in reverse order
{
for (i = nodesForThisFace-1; i >= 0; i--)
//for (i = nodesForThisFace-1; i >= 0; i--)
for (i=nodesForThisFace; i-- > 0 ;)
{
int ix2 = nodesForThisFace - 1 - i;
nodes[faceI - startZoneToFaceIndex][ix2] =
......
......@@ -247,7 +247,7 @@ airOneLinify(char *s) {
/* lose trailing white space */
len = airStrlen(s);
/*for (i=len-1; i>=0 && ' ' == s[i]; i--) { */
for (i=len; i-- > 0 && ' ' == s[i]; i--) { /* TODO: check on fix for autological compare */
for (i=len; i-- > 0 && ' ' == s[i];) { /* TODO: check on fix for autological compare */
s[i] = '\0';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment