Skip to content
Snippets Groups Projects
Commit b06853e0 authored by deuce's avatar deuce
Browse files

Remove crufty uifcini*() stuff.

parent f01a062c
No related branches found
No related tags found
No related merge requests found
......@@ -198,32 +198,9 @@ FULLPATH(cfg.ctrl_dir,".",sizeof(cfg.ctrl_dir));
backslashcolon(cfg.ctrl_dir);
uifc.size=sizeof(uifc);
#if defined(USE_FLTK)
if(!door_mode && gui_mode==TRUE
#if defined(__unix__)
&& (getenv("DISPLAY")!=NULL)
#endif
)
i=uifcinifltk(&uifc); /* dialog */
else
#endif
#if defined(USE_DIALOG)
if(!door_mode)
i=uifcinid(&uifc); /* dialog */
else
#elif defined(USE_UIFC32)
if(!door_mode)
i=uifcini32(&uifc); /* curses/conio */
else
#elif defined(USE_CURSES)
if(!door_mode)
i=uifcinic(&uifc); /* curses */
else
#elif !defined(__unix__) && !defined(_MSC_VER) && !defined(USE_UIFC32) && 0
if(!door_mode)
i=uifcini(&uifc); /* conio */
else
#endif
i=uifcinix(&uifc); /* stdio */
if(i!=0) {
printf("uifc library init returned error %d\n",i);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment