Commit 5b87f728 authored by rswindell's avatar rswindell
Browse files

Don't call try_x_init() if NO_X defined.

parent 9e5fc89c
......@@ -186,8 +186,11 @@ int initciolib(int mode)
case CIOLIB_MODE_CURSES_IBM:
try_curses_init(mode);
break;
case CIOLIB_MODE_X:
#ifndef NO_X
try_x_init(mode);
#endif
break;
#endif
case CIOLIB_MODE_ANSI:
......
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