Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid save game name offered #850

Closed
DorpsGek opened this issue Jun 9, 2007 · 3 comments
Closed

Invalid save game name offered #850

DorpsGek opened this issue Jun 9, 2007 · 3 comments
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

DorpsGek commented Jun 9, 2007

bilbo opened the ticket and wrote:

When I renamed my company to "QN/Bilbo Trans" and pressed Save button, game offered me an invalid name of savegame.

Since "/" is not valid part of file name and directory "QN" does not happen to exist in the savegame directory, saving failed when I just pressed save.

I think all "funny" characters like : / * and ? from company name should be autoreplaced (by underscore for example) when offering name of the save game
Sure, I can invent other name (actually, I have to invent other name), but this prevents me from simply pressing the "Save" button.

Reported version: 0.5.2
Operating system: All


This issue was imported from FlySpray: https://bugs.openttd.org/task/850
@DorpsGek
Copy link
Member Author

bilbo wrote:

Also, I noticed the same problem when taking screenshot. As their name is also autogenerated by using company name (and this time with no option to select different name in a dialog), having problematic characters in company name may prevent taking screenshots - I just see message "screenshot failed" ...


This comment was imported from FlySpray: https://bugs.openttd.org/task/850#comment1303

@DorpsGek
Copy link
Member Author

TheJosh wrote:

here is a fix-patch

converts : / * and ? to a _

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/850#comment1344

@DorpsGek
Copy link
Member Author

Rubidium closed the ticket.

Reason for closing: Fixed

In r10116; will make it's way into 0.5.3


This comment was imported from FlySpray: https://bugs.openttd.org/task/850

@DorpsGek DorpsGek added component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) bug labels Apr 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: interface This is an interface issue flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant