Don't give a deprecation warning about --userdata-dir when using the backup preferences directory

This commit is contained in:
Celtic Minstrel 2022-07-02 09:32:21 -04:00
parent e39f91682a
commit 984309b100

View File

@ -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");