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

Set api->scrn_len to 0 to keep textmode() from being called.

(The textmode() call was causing the screen to be cleared on *nix which
resulted in background disapearing when it shouldn't have)
parent 997ef4ec
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ int init_uifc(BOOL scrn, BOOL bottom) {
gettextinfo(&txtinfo);
if(!uifc_initialized) {
uifc.scrn_len=txtinfo.screenheight;
/* Set scrn_len to 0 to prevent textmode() call */
uifc.scrn_len=0;
if((i=uifcini32(&uifc))!=0) {
fprintf(stderr,"uifc library init returned error %d\n",i);
return(-1);
......
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