From 842eb669b719014c838ee6bd3ea68995b0920d35 Mon Sep 17 00:00:00 2001 From: Misa Date: Sun, 26 Apr 2020 13:16:56 -0700 Subject: [PATCH] Make deletequick() and deletetele() error messages less vague Now it clearly specifies exactly which file failed to be deleted. --- desktop_version/src/Game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/desktop_version/src/Game.cpp b/desktop_version/src/Game.cpp index a18e32d5..dd9dab00 100644 --- a/desktop_version/src/Game.cpp +++ b/desktop_version/src/Game.cpp @@ -7189,7 +7189,7 @@ void Game::createmenu( enum Menu::MenuName t, bool samemenu/*= false*/ ) void Game::deletequick() { if( remove( "qsave.vvv" ) != 0 ) - printf("Error deleting file\n"); + puts("Error deleting qsave.vvv"); else quicksummary = ""; } @@ -7197,7 +7197,7 @@ void Game::deletequick() void Game::deletetele() { if( remove( "tsave.vvv" ) != 0 ) - printf("Error deleting file\n"); + puts("Error deleting tsave.vvv"); else telesummary = ""; }