Fixes cropping that would happen when using an dot (.) in the beggining of the text.

This commit is contained in:
Dyego Maas
2022-01-12 16:04:57 -03:00
parent 159aa46e21
commit 73665d8b09

View File

@@ -30,7 +30,7 @@ IEnumerable<string> ReadPattern(int limitHeight)
// game allowed you to input an '.' before the spaces to circumvent this limitation. This behavior was
// kept for compatibility.
if (input.StartsWith('.'))
yield return input.Substring(1, input.Length - 2);
yield return input.Substring(1, input.Length - 1);
yield return input;
}