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

Don't attempt to set window scaling or window size to zero.

parent 76ca37c1
No related branches found
No related tags found
No related merge requests found
......@@ -1574,8 +1574,10 @@ int main(int argc, char **argv)
return(1);
ciolib_reaper=FALSE;
seticon(syncterm_icon.pixel_data,syncterm_icon.width);
setscaling(settings.scaling_factor);
setwinsize(settings.window_width, settings.window_height);
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);
......
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