>> +#ifdef _WIN32 >> + if (home == nullptr) >> + home = getenv ("APPDATA"); I think the assignment line is indented a bit too far -- should be 2 spaces over from the "if", per the GNU style. thanks, Tom