Fix the fix...
This commit is contained in:
parent
063d73835a
commit
8a817a9eff
|
@ -187,7 +187,7 @@ namespace lxs {
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (idx < end - 1 && input[idx + 1] != '-')
|
if (idx == end - 1 || (idx < end - 1 && input[idx + 1] != '-'))
|
||||||
used_chars.insert(input[idx]);
|
used_chars.insert(input[idx]);
|
||||||
else
|
else
|
||||||
last_char = input[idx];
|
last_char = input[idx];
|
||||||
|
|
Loading…
Reference in New Issue