Commit 44ce1250 authored by Deucе's avatar Deucе 👌🏾
Browse files

Prefer X11 mode over SDL mode

I do, so you should too!
parent 62b34c61
Pipeline #2193 failed with stage
in 9 minutes and 2 seconds
......@@ -397,15 +397,15 @@ CIOLIBEXPORT int initciolib(int mode)
switch(mode) {
case CIOLIB_MODE_AUTO:
#ifndef NO_X
if(!try_x_init(mode))
#endif
#if defined(WITH_SDL)
if(!try_sdl_init(CIOLIB_MODE_SDL))
#endif
#ifdef _WIN32
if(!try_conio_init(mode))
#else
#ifndef NO_X
if(!try_x_init(mode))
#endif
if(!try_curses_init(mode))
#endif
try_ansi_init(mode);
......
......@@ -1699,7 +1699,7 @@ void change_settings(int connected)
#ifdef NO_X
" SDL, then Curses\n\n"
#else
" SDL, X11 then Curses\n\n"
" X11, SDL, then Curses\n\n"
#endif
#else
" SDL, then Windows Console\n\n"
......
......@@ -716,7 +716,7 @@ static const struct {
char *output_types[]={
"Autodetect"
#ifdef __unix__
" (SDL, X11, Curses)"
" (X11, SDL, Curses)"
#elif defined(_WIN32)
" (SDL, Console, ANSI)"
#endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment