Commit fb89d9d2 authored by deuce's avatar deuce
Browse files

Change initialized value BEFORE calling ciolib functions... prevents

infinite recursion.
parent b8aaa9d9
......@@ -278,10 +278,10 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode)
case 1:
return(0);
case -1:
initialized=1;
if(cio_api.resume != NULL)
cio_api.resume();
ciolib_clrscr();
initialized=1;
return(0);
}
......
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