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

Actually set the default attribute when initializing a mode (or the lib).

parent e7b8097a
No related branches found
No related tags found
No related merge requests found
...@@ -457,6 +457,7 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode) ...@@ -457,6 +457,7 @@ CIOLIBEXPORT int CIOLIBCALL initciolib(int mode)
break; break;
} }
ciolib_seticon(syncicon64, SYNCICON64_WIDTH); ciolib_seticon(syncicon64, SYNCICON64_WIDTH);
ciolib_textattr(cio_textinfo.normattr);
_beginthread(ciolib_mouse_thread,0,NULL); _beginthread(ciolib_mouse_thread,0,NULL);
return(0); return(0);
...@@ -847,6 +848,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_textmode(int mode) ...@@ -847,6 +848,7 @@ CIOLIBEXPORT void CIOLIBCALL ciolib_textmode(int mode)
cio_textinfo.normattr=LIGHTGRAY; cio_textinfo.normattr=LIGHTGRAY;
break; break;
} }
ciolib_textattr(cio_textinfo.normattr);
} }
/* Optional */ /* Optional */
......
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