Skip to content

Commit

Permalink
CONFIG_X11 build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
adelva1984 committed Jul 3, 2013
1 parent f435e23 commit 452ea4d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editor/robo_ed.c
Expand Up @@ -1320,6 +1320,8 @@ static int copy_buffer_to_X11_selection(const SDL_Event *event)
XSelectionRequestEvent *request;
#if SDL_VERSION_ATLEAST(2,0,0)
SDL_Window *window = userdata;
#else
SDL_Window *window = NULL;
#endif
char *dest_data, *dest_ptr;
XEvent response, *xevent;
Expand Down

0 comments on commit 452ea4d

Please sign in to comment.