token enumerator missed the last token if it contains only a single char
This commit is contained in:
@@ -268,7 +268,7 @@ static bool enumerate_token_enum(token_enum_t *this, char **token)
|
||||
}
|
||||
}
|
||||
|
||||
if (!last || pos > *token)
|
||||
if (!last || pos >= *token)
|
||||
{
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user