Skip to content

Commit

Permalink
Minor tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Dec 4, 2023
1 parent 06f6ece commit d905c48
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/i_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions src/v_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit d905c48

Please sign in to comment.