Minor fixes for Xcode.

This commit is contained in:
Stephen Anthony 2023-11-17 12:40:01 -03:30
parent 78187876db
commit c3b81d00ae
3 changed files with 4 additions and 4 deletions

View File

@ -1108,14 +1108,14 @@ ostream& operator<<(ostream& os, const PhysicalJoystickHandler& jh)
os << "---------------------------------------------------------\n"
<< "joy database:\n";
for(const auto& [_name, _info]: jh.myDatabase)
os << _name << '\n' << _info << '\n\n';
os << _name << '\n' << _info << "\n\n";
os << "---------------------\n"
<< "joy active:\n";
for(const auto& [_id, _joyptr]: jh.mySticks)
os << _id << ": " << *_joyptr << '\n';
os << "---------------------------------------------------------"
<< '\n\n\n';
<< "\n\n\n";
return os;
}

View File

@ -125,7 +125,7 @@ bool OSystem::initialize(const Settings::Options& options)
ostringstream buf;
buf << "Stella " << STELLA_VERSION << '\n'
<< " Features: " << myFeatures << '\n'
<< " " << myBuildInfo << '\n\n'
<< " " << myBuildInfo << "\n\n"
<< "Base directory: '"
<< myBaseDir.getShortPath() << "'\n"
<< "State directory: '"

View File

@ -32,6 +32,6 @@ void OSystemMACOS::getBaseDirectories(string& basedir, string& homedir,
basedir = FSNode(usedir).getPath();
#endif
FSNode desktop("~/Desktop/");
const FSNode desktop("~/Desktop/");
homedir = desktop.isDirectory() ? desktop.getShortPath() : "~/";
}