From: Holger Schemel Date: Sat, 24 Oct 2020 22:19:22 +0000 (+0200) Subject: removed unneeded request confirmations X-Git-Tag: 4.2.1.0~8 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=222f9f6633633ad0a39c2014d6914866b77cf391;p=rocksndiamonds.git removed unneeded request confirmations --- diff --git a/src/screens.c b/src/screens.c index 6f1e7f42..95c95370 100644 --- a/src/screens.c +++ b/src/screens.c @@ -4157,8 +4157,6 @@ static void setTypeNameValues(char *name, struct TextPosInfo *pos, strcpy(name, setup.player_name); setTypeNameValues_Name(name, pos); - - Request("Setup values reset to default values!", REQ_CONFIRM); } } else if (remove_user && type_name_nr != 0) @@ -4170,9 +4168,7 @@ static void setTypeNameValues(char *name, struct TextPosInfo *pos, getStringCat3WithSeparator(user_dir, "REMOVED", getCurrentTimestamp(), "."); - if (rename(user_dir, user_dir_removed) == 0) - Request("Player settings and tapes removed!", REQ_CONFIRM); - else + if (rename(user_dir, user_dir_removed) != 0) Request("Removing settings and tapes failed!", REQ_CONFIRM); checked_free(user_dir_removed);