Follow-up Comment #4, patch #2192 (project wesnoth):
That change can backfire if game_config::path is empty string.
One of your changes effectively does
if(path.empty()) { game_config::preferences_dir = game_config::path +
"/userdata"; }
So if came_config::path is empty your change sets
game_config::preferences_dir to "/userdata", afaik windows will treat it as
"C:userdata" or something along those lines.
Whether game_config::path actually can be an empty string deserves further
investigation, but since this code checks for this possibility..
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?2192>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs