Code Cleanup

- Fixed compiler warning in text.cpp.
This commit is contained in:
Paul Beckingham 2010-08-03 22:55:08 -04:00
parent e26f29537a
commit 448f865cf1

View file

@ -228,7 +228,7 @@ void extractLine (std::string& text, std::string& line, int length)
// Special case: no \n, and less than length characters total.
// special case: text.find ("\n") == std::string::npos && text.length () < length
if (eol == std::string::npos && characters (text) <= (unsigned) length)
if (eol == std::string::npos && characters (text) <= length)
{
line = text;
text = "";