Don't increment string position if nothing was written to the string.

This commit is contained in:
Oliver Schmidt 2019-05-07 18:32:46 +02:00
parent 29cbd19c89
commit 757d360925

View File

@ -582,6 +582,10 @@ int main(int, char *argv[])
buffer[i] = '.'; buffer[i] = '.';
dot = &buffer[i]; dot = &buffer[i];
} }
else
{
continue;
}
++i; ++i;
} }
} }