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:
@@ -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 == ' ')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user