Skip to content

Commit

Permalink
fix linux warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Nov 23, 2024
1 parent cb17f11 commit 36ca9eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -2294,7 +2294,7 @@ This is where OS specific stuff starts
RGFW_jsButtonCallback(win, i, e.number, e.value);

return &win->event;
case JS_EVENT_AXIS:
case JS_EVENT_AXIS: {
size_t axis = e.number / 2;
if (axis == 2) axis = 1;

Expand All @@ -2314,7 +2314,7 @@ This is where OS specific stuff starts
win->event.whichAxis = axis;
RGFW_jsAxisCallback(win, i, win->event.axis, win->event.axisesCount);
return &win->event;

}
default: break;
}
}
Expand Down

0 comments on commit 36ca9eb

Please sign in to comment.