Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
e62e4486
Commit
e62e4486
authored
Apr 20, 2020
by
deuce
Browse files
When we savescreen() for uifc, set the fonts to CP437 as well.
parent
1f9c09c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
src/syncterm/uifcinit.c
src/syncterm/uifcinit.c
+12
-0
No files found.
src/syncterm/uifcinit.c
View file @
e62e4486
...
...
@@ -106,6 +106,10 @@ void uifcmsg(char *msg, char *helpbuf)
i
=
uifc_initialized
;
if
(
!
i
)
savscrn
=
savescreen
();
setfont
(
0
,
FALSE
,
1
);
setfont
(
0
,
FALSE
,
2
);
setfont
(
0
,
FALSE
,
3
);
setfont
(
0
,
FALSE
,
4
);
init_uifc
(
FALSE
,
FALSE
);
if
(
uifc_initialized
)
{
uifc
.
helpbuf
=
helpbuf
;
...
...
@@ -129,6 +133,10 @@ void uifcinput(char *title, int len, char *msg, int mode, char *helpbuf)
i
=
uifc_initialized
;
if
(
!
i
)
savscrn
=
savescreen
();
setfont
(
0
,
FALSE
,
1
);
setfont
(
0
,
FALSE
,
2
);
setfont
(
0
,
FALSE
,
3
);
setfont
(
0
,
FALSE
,
4
);
init_uifc
(
FALSE
,
FALSE
);
if
(
uifc_initialized
)
{
uifc
.
helpbuf
=
helpbuf
;
...
...
@@ -158,6 +166,10 @@ int confirm(char *msg, char *helpbuf)
i
=
uifc_initialized
;
if
(
!
i
)
savscrn
=
savescreen
();
setfont
(
0
,
FALSE
,
1
);
setfont
(
0
,
FALSE
,
2
);
setfont
(
0
,
FALSE
,
3
);
setfont
(
0
,
FALSE
,
4
);
init_uifc
(
FALSE
,
FALSE
);
if
(
uifc_initialized
)
{
uifc
.
helpbuf
=
helpbuf
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment