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

Change initialized value BEFORE calling ciolib functions... prevents

infinite recursion.
parent b8aaa9d9
No related branches found
No related tags found
No related merge requests found
...@@ -278,10 +278,10 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode) ...@@ -278,10 +278,10 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode)
case 1: case 1:
return(0); return(0);
case -1: case -1:
initialized=1;
if(cio_api.resume != NULL) if(cio_api.resume != NULL)
cio_api.resume(); cio_api.resume();
ciolib_clrscr(); ciolib_clrscr();
initialized=1;
return(0); return(0);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment