Commit e62e4486 authored by deuce's avatar deuce
Browse files

When we savescreen() for uifc, set the fonts to CP437 as well.

parent 1f9c09c6
...@@ -106,6 +106,10 @@ void uifcmsg(char *msg, char *helpbuf) ...@@ -106,6 +106,10 @@ void uifcmsg(char *msg, char *helpbuf)
i=uifc_initialized; i=uifc_initialized;
if(!i) if(!i)
savscrn = savescreen(); savscrn = savescreen();
setfont(0, FALSE, 1);
setfont(0, FALSE, 2);
setfont(0, FALSE, 3);
setfont(0, FALSE, 4);
init_uifc(FALSE, FALSE); init_uifc(FALSE, FALSE);
if(uifc_initialized) { if(uifc_initialized) {
uifc.helpbuf=helpbuf; uifc.helpbuf=helpbuf;
...@@ -129,6 +133,10 @@ void uifcinput(char *title, int len, char *msg, int mode, char *helpbuf) ...@@ -129,6 +133,10 @@ void uifcinput(char *title, int len, char *msg, int mode, char *helpbuf)
i=uifc_initialized; i=uifc_initialized;
if(!i) if(!i)
savscrn = savescreen(); savscrn = savescreen();
setfont(0, FALSE, 1);
setfont(0, FALSE, 2);
setfont(0, FALSE, 3);
setfont(0, FALSE, 4);
init_uifc(FALSE, FALSE); init_uifc(FALSE, FALSE);
if(uifc_initialized) { if(uifc_initialized) {
uifc.helpbuf=helpbuf; uifc.helpbuf=helpbuf;
...@@ -158,6 +166,10 @@ int confirm(char *msg, char *helpbuf) ...@@ -158,6 +166,10 @@ int confirm(char *msg, char *helpbuf)
i=uifc_initialized; i=uifc_initialized;
if(!i) if(!i)
savscrn = savescreen(); savscrn = savescreen();
setfont(0, FALSE, 1);
setfont(0, FALSE, 2);
setfont(0, FALSE, 3);
setfont(0, FALSE, 4);
init_uifc(FALSE, FALSE); init_uifc(FALSE, FALSE);
if(uifc_initialized) { if(uifc_initialized) {
uifc.helpbuf=helpbuf; uifc.helpbuf=helpbuf;
......
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