mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-28 02:06:23 +00:00
Don't give a deprecation warning about --userdata-dir when using the backup preferences directory
This commit is contained in:
parent
e39f91682a
commit
984309b100
@ -714,6 +714,7 @@ void set_user_data_dir(std::string newprefdir)
|
||||
#else
|
||||
if(newprefdir.empty()) {
|
||||
newprefdir = backupprefdir;
|
||||
relative_ok = true;
|
||||
}
|
||||
|
||||
const char* home_str = getenv("HOME");
|
||||
|
Loading…
x
Reference in New Issue
Block a user