Fix a stupid oversight

This commit is contained in:
Robin Jadoul 2016-05-30 19:03:48 +02:00
parent e19e48f150
commit 8c91d4c42a
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ namespace lxs {
if (input[idx] == '-')
{
idx++;
for (int i = last_char + 1; i <= input[idx]; i++) {
for (int i = last_char; i <= input[idx]; i++) {
used_chars.insert((char) i);
}
last_char = -1;