mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Code Cleanup
- Fixed comments, compilation warnings. - Decomposed Context::initialize into several, single-purpose methods. - Replaced Context::initialize with Context::initialize2.
This commit is contained in:
parent
a20a4da412
commit
d892a0cbd2
10 changed files with 217 additions and 534 deletions
|
@ -265,7 +265,7 @@ int longestWord (const std::string& input)
|
|||
std::string::size_type i = 0;
|
||||
int character;
|
||||
|
||||
while (character = utf8_next_char (input, i))
|
||||
while ((character = utf8_next_char (input, i)))
|
||||
{
|
||||
if (character == ' ')
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue