Skip to content
Snippets Groups Projects
Commit 5d462847 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Prefer X11 mode over SDL mode

I do, so you should too!
parent 7c9dd270
No related branches found
No related tags found
No related merge requests found
......@@ -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))
if(!try_sdl_init(CIOLIB_MODE_SDL))
#endif
#ifdef _WIN32
if(!try_conio_init(mode))
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment