Skip to content

Commit 8ae962c

Browse files
committed
Fixed build
1 parent e040643 commit 8ae962c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/events/SDL_pen.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@ void SDL_SendPenButton(Uint64 timestamp, SDL_PenID instance_id, SDL_Window *wind
565565
event.pbutton.down = down;
566566
SDL_PushEvent(&event);
567567

568-
if (window && !pen_touching || (pen_touching == instance_id)) {
568+
if (window && (!pen_touching || (pen_touching == instance_id))) {
569569
SDL_Mouse *mouse = SDL_GetMouse();
570570
if (mouse && mouse->pen_mouse_events) {
571571
SDL_SendMouseButton(timestamp, window, SDL_PEN_MOUSEID, button + 1, down);

0 commit comments

Comments
 (0)