From 8942585e1dd82f13ed2efc288a6150127b1a6a0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Sat, 22 May 2021 19:29:27 -0400 Subject: [PATCH] Set the text mode before scaling and size Setting the scaling and size before changing modes does weird things. Those things should be fixed, but at least this makes the problem go away in SyncTERM for now. --- src/syncterm/syncterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syncterm/syncterm.c b/src/syncterm/syncterm.c index 92fc0eabb4..32a8023bf6 100644 --- a/src/syncterm/syncterm.c +++ b/src/syncterm/syncterm.c @@ -1624,11 +1624,11 @@ int main(int argc, char **argv) cio_api.options &= ~CONIO_OPT_BLOCKY_SCALING; ciolib_reaper=FALSE; seticon(syncterm_icon.pixel_data,syncterm_icon.width); + textmode(text_mode); if (settings.scaling_factor) setscaling(settings.scaling_factor); if (settings.window_width && settings.window_height) setwinsize(settings.window_width, settings.window_height); - textmode(text_mode); gettextinfo(&txtinfo); if((txtinfo.screenwidth<40) || txtinfo.screenheight<24) { -- GitLab