Skip to content

Commit

Permalink
missing ctrl macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jackeri committed Nov 29, 2021
1 parent 9a1b4c0 commit cb1c002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cgame/cg_sound.c
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,7 @@ qboolean CG_SpeakerEditor_NoiseEdit_KeyDown(panel_button_t *button, int key)
int localkey = key;

localkey &= ~K_CHAR_FLAG;
if (localkey == 'h' - 'a' + 1 || localkey >= 32)
if (localkey == CTRL('h') || localkey >= 32)
{
noiseMatchString[0] = '\0';
}
Expand Down

0 comments on commit cb1c002

Please sign in to comment.