From 00cbe729b28d3a7ad9b1472f781a5a343b602ba8 Mon Sep 17 00:00:00 2001 From: Thomas BERNARD Date: Fri, 14 Sep 2018 17:23:52 +0200 Subject: [PATCH] fix NO_X11 option support --- src/readline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/readline.c b/src/readline.c index 9ca7a7e7..13aa463d 100644 --- a/src/readline.c +++ b/src/readline.c @@ -438,7 +438,7 @@ bye: char * utf8_str = SDL_GetClipboardText(); if (utf8_str != NULL) { - #elif defined(USE_X11) || (defined(USE_SDL) && defined(SDL_VIDEO_DRIVER_X11)) + #elif defined(USE_X11) || (defined(USE_SDL) && defined(SDL_VIDEO_DRIVER_X11) && !defined(NO_X11)) { int i; Atom selection;