Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
revert this const parameter for X11 function
  • Loading branch information
1bsyl committed Oct 30, 2019
1 parent dab55a8 commit ce308a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/x11/SDL_x11messagebox.c
Expand Up @@ -625,7 +625,7 @@ X11_MessageBoxDraw( SDL_MessageBoxDataX11 *data, GC ctx )
}

static Bool
X11_MessageBoxEventTest(Display *display, XEvent *event, const XPointer arg)
X11_MessageBoxEventTest(Display *display, XEvent *event, XPointer arg)
{
const SDL_MessageBoxDataX11 *data = (const SDL_MessageBoxDataX11 *) arg;
return ((event->xany.display == data->display) && (event->xany.window == data->window)) ? True : False;
Expand Down

0 comments on commit ce308a7

Please sign in to comment.