Skip to content

Commit db55bed

Browse files
authored
fix: check if ctrl modifier is among the currently set modifiers (#3230)
1 parent c9864d8 commit db55bed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rcore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5609,7 +5609,7 @@ static void KeyCallback(GLFWwindow *window, int key, int scancode, int action, i
56095609
if ((key == GLFW_KEY_F12) && (action == GLFW_PRESS))
56105610
{
56115611
#if defined(SUPPORT_GIF_RECORDING)
5612-
if (mods == GLFW_MOD_CONTROL)
5612+
if (mods & GLFW_MOD_CONTROL)
56135613
{
56145614
if (gifRecording)
56155615
{

0 commit comments

Comments
 (0)