From 452ea4d7113d26804ce50facf76480856449f3b0 Mon Sep 17 00:00:00 2001 From: Alistair John Strachan Date: Tue, 2 Jul 2013 22:06:48 -0700 Subject: [PATCH] CONFIG_X11 build fix. --- src/editor/robo_ed.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/editor/robo_ed.c b/src/editor/robo_ed.c index 0ca95eac..12f9433b 100644 --- a/src/editor/robo_ed.c +++ b/src/editor/robo_ed.c @@ -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;