Revision: 70849
          http://sourceforge.net/p/brlcad/code/70849
Author:   starseeker
Date:     2018-03-23 15:41:02 +0000 (Fri, 23 Mar 2018)
Log Message:
-----------
length, not start/end positions

Modified Paths:
--------------
    brlcad/trunk/src/libanalyze/nirt.cxx

Modified: brlcad/trunk/src/libanalyze/nirt.cxx
===================================================================
--- brlcad/trunk/src/libanalyze/nirt.cxx        2018-03-23 04:14:44 UTC (rev 
70848)
+++ brlcad/trunk/src/libanalyze/nirt.cxx        2018-03-23 15:41:02 UTC (rev 
70849)
@@ -624,7 +624,7 @@
        s.clear();
        return;
     }
-    s = s.substr(sp, ep+1);
+    s = s.substr(sp, ep-sp+1);
 }
 
 HIDDEN std::vector<std::string>

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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
BRL-CAD Source Commits mailing list
brlcad-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-commits

Reply via email to