Collections of changes to facilitate compilation on Linux and macOS. (PR #992)

This commit is contained in:
Andrea
2021-10-18 20:23:46 +01:00
committed by GitHub
parent 9553106f4e
commit f2843d4d71
9 changed files with 19 additions and 7 deletions

View File

@@ -814,7 +814,7 @@ Update_t CmdProfile (int nArgs)
if (ProfileSave())
{
TCHAR sText[ CONSOLE_WIDTH ];
ConsoleBufferPushFormat ( sText, " Saved: %s", g_FileNameProfile );
ConsoleBufferPushFormat ( sText, " Saved: %s", g_FileNameProfile.c_str() );
}
else
ConsoleBufferPush( TEXT(" ERROR: Couldn't save file. (In use?)" ) );