1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2025-01-09 18:39:45 +01:00

Make deletequick() and deletetele() error messages less vague

Now it clearly specifies exactly which file failed to be deleted.
This commit is contained in:
Misa 2020-04-26 13:16:56 -07:00 committed by Ethan Lee
parent 4f3df23e02
commit 842eb669b7

View file

@ -7189,7 +7189,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ )
void Game::deletequick() void Game::deletequick()
{ {
if( remove( "qsave.vvv" ) != 0 ) if( remove( "qsave.vvv" ) != 0 )
printf("Error deleting file\n"); puts("Error deleting qsave.vvv");
else else
quicksummary = ""; quicksummary = "";
} }
@ -7197,7 +7197,7 @@ void Game::deletequick()
void Game::deletetele() void Game::deletetele()
{ {
if( remove( "tsave.vvv" ) != 0 ) if( remove( "tsave.vvv" ) != 0 )
printf("Error deleting file\n"); puts("Error deleting tsave.vvv");
else else
telesummary = ""; telesummary = "";
} }