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

-c config location not where expected #3247

Closed
DorpsGek opened this issue Sep 30, 2009 · 1 comment
Closed

-c config location not where expected #3247

DorpsGek opened this issue Sep 30, 2009 · 1 comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

TrueBrain opened the ticket and wrote:

trunk/openttd -c test.cfg

Does not use 'test.cfg' in current working dir, but in trunk/test.cfg. This is because:

ChangeWorkingDirectory(exe);

In fileio.cpp, and _config_file keeping a relative value from the current working path. A simple solution would be (see attachment).

Attachments

Reported version: Version?
Operating system: All


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

DorpsGek commented Oct 3, 2009

Rubidium closed the ticket.

Reason for closing: Fixed

In r17686


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

@DorpsGek DorpsGek closed this as completed Oct 3, 2009
@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant