Revision: 68939
          http://sourceforge.net/p/brlcad/code/68939
Author:   brlcad
Date:     2016-09-30 04:06:48 +0000 (Fri, 30 Sep 2016)
Log Message:
-----------
fix warning.  presumably getting shell and C syntax mixed up, and the intent 
here is to simply make sure the first char on the current line isn't a start

Modified Paths:
--------------
    brlcad/trunk/src/conv/k-g.cpp

Modified: brlcad/trunk/src/conv/k-g.cpp
===================================================================
--- brlcad/trunk/src/conv/k-g.cpp       2016-09-30 03:56:56 UTC (rev 68938)
+++ brlcad/trunk/src/conv/k-g.cpp       2016-09-30 04:06:48 UTC (rev 68939)
@@ -272,7 +272,7 @@
                std::string remainder = line.substr(i,incr);
                if (remainder.find_first_not_of(" \t\n\v\f\r") == 
std::string::npos) {
                    std::getline(infile, line);
-                   while (line.c_str()[0] == '$' && !line.c_str()[0] == '*') {
+                   while (line.c_str()[0] == '$' && line.c_str()[0] != '*') {
                        std::getline(infile, line);
                    };
                    i = 0;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to