Page 1 of 1

[0.17.0] Can't use capital 'Z' in save name

Posted: Tue Feb 26, 2019 5:38 pm
by lukky513
Like in the title. I'm trying to save the game migrated from 0.16.51, and I'm not able to use capital Z in the filename. Lowercase 'z' seems to work just fine. No idea what other characters could be affected.

Message I get:

Character "Z" can't be part of the file name.


UPDATE: The problem persists even in new (non-migrated) game.

Re: [0.17.0] Can't use capital 'Z' in save name

Posted: Tue Feb 26, 2019 7:10 pm
by posila
Thanks for the report.
Fixed for 0.17.1

Re: [0.17.0] Can't use capital 'Z' in save name

Posted: Tue Feb 26, 2019 7:20 pm
by lukky513
I'd be more than happy to hear how did that happen :D

Re: [0.17.0] Can't use capital 'Z' in save name

Posted: Tue Feb 26, 2019 9:07 pm
by posila
Simple c < 'Z' instead of c <= 'Z'

Re: [0.17.0] Can't use capital 'Z' in save name

Posted: Wed Feb 27, 2019 8:17 am
by ahydra447
There are three hard problems in computer science: naming things, and off-by-one errors. :)