From d905c484843e8b6f5bc356aced3b663d76519eab Mon Sep 17 00:00:00 2001 From: Brad Harding Date: Mon, 4 Dec 2023 17:40:28 +1100 Subject: [PATCH] Minor tweaks --- src/i_video.c | 7 ++++++- src/v_video.c | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/i_video.c b/src/i_video.c index 377921dff2..72e1277db7 100644 --- a/src/i_video.c +++ b/src/i_video.c @@ -988,7 +988,12 @@ bool I_CreateExternalAutomap(void) else if (am_display > numdisplays) { if (!togglingvanilla) - C_Warning(1, "The external automap can't be shown. Display %i wasn't found.", am_display); + { + if (numdisplays == 1) + C_Warning(1, "The external automap can't be shown. There is only 1 display."); + else + C_Warning(1, "The external automap can't be shown. There are only %i displays.", numdisplays); + } return false; } diff --git a/src/v_video.c b/src/v_video.c index db53e7e052..df0fef7641 100644 --- a/src/v_video.c +++ b/src/v_video.c @@ -1858,11 +1858,11 @@ bool V_ScreenShot(void) do { if (!count) - M_StringCopy(lbmname2, "External Automap.png", sizeof(lbmname2)); + M_StringCopy(lbmname2, "Automap.png", sizeof(lbmname2)); else { temp2 = commify(count); - M_snprintf(lbmname2, sizeof(lbmname2), "External Automap (%s).png", temp2); + M_snprintf(lbmname2, sizeof(lbmname2), "Automap (%s).png", temp2); free(temp2); }