mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Code Cleanup
- Fixed compiler warning in text.cpp.
This commit is contained in:
parent
e26f29537a
commit
448f865cf1
1 changed files with 1 additions and 1 deletions
|
@ -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 = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue