Skip to content

Commit

Permalink
Modify brackets in various prompts
Browse files Browse the repository at this point in the history
Modified the brackets for starting a new game, resetting the config and confirming a video mode.
  • Loading branch information
Diordany committed May 19, 2024
1 parent 68b864e commit adf4682
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Quake/gl_vidsdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ static void VID_Test (void)
VID_Restart ();

//pop up confirmation dialoge
if (!SCR_ModalMessage("Would you like to keep this\nvideo mode? (y/n)\n", 5.0f))
if (!SCR_ModalMessage("Would you like to keep this\nvideo mode? [y/n]\n", 5.0f))
{
//revert cvars and mode
Cvar_SetValueQuick (&vid_width, old_width);
Expand Down
4 changes: 2 additions & 2 deletions Quake/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ void M_SinglePlayer_Key (int key)
{
case 0:
if (sv.active)
if (!SCR_ModalMessage("Are you sure you want to\nstart a new game? (y/n)\n", 0.0f))
if (!SCR_ModalMessage("Are you sure you want to\nstart a new game? [y/n]\n", 0.0f))
break;
IN_Activate();
key_dest = key_game;
Expand Down Expand Up @@ -1288,7 +1288,7 @@ void M_Options_Key (int k)
break;
case OPT_DEFAULTS:
if (SCR_ModalMessage("This will reset all controls\n"
"and stored cvars. Continue? (y/n)\n", 15.0f))
"and stored cvars. Continue? [y/n]\n", 15.0f))
{
Cbuf_AddText ("resetcfg\n");
Cbuf_AddText ("exec default.cfg\n");
Expand Down

0 comments on commit adf4682

Please sign in to comment.