diff --git a/src/text.cpp b/src/text.cpp index db7fa511a..10db6f837 100644 --- a/src/text.cpp +++ b/src/text.cpp @@ -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 = "";