commandline parameter "homedir" is ignored and with "datadir" the hardcoded defaultdirs were parsed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I have several widelands installations on my system with different config and data directories.
I called widelands with the --homedir and --datadir commandline parameters and find that the --homedir is ignored, the message:
Adding home directory: $HOME/.
With the datadir parameter widelands searches the hard coded default paths like . and /usr/share/
While browsing through the code of src/wlapplicati
The same by m_default_datadirs. The value changed after! the if(m_default_
I have to rearrange the code a little bit to get it work.
Maybe you find a better solution but the patch works for me.
the patch seems to be fine for me. Any objections against a merge?