Synchronet now requires the libarchive development package (e.g. libarchive-dev on Debian-based Linux distros, libarchive.org for more info) to build successfully.

Commit aa4180ee authored by Deucе's avatar Deucе 👌🏾

Use aspect_fix() not aspect_correct() for initial window size

Caused the initial window to be the wrong size.
parent 679800f7
Pipeline #2237 passed with stage
in 8 minutes and 41 seconds
......@@ -1472,7 +1472,7 @@ int main(int argc, char **argv)
vparams[cvmode].aspect_height = settings.custom_ah;
ciolib_initial_window_height = settings.window_height;
ciolib_initial_window_width = settings.window_width;
aspect_correct(&ciolib_initial_window_width, &ciolib_initial_window_height, settings.custom_aw, settings.custom_ah);
aspect_fix(&ciolib_initial_window_width, &ciolib_initial_window_height, settings.custom_aw, settings.custom_ah);
ciolib_mode=settings.output_mode;
if(settings.startup_mode != SCREEN_MODE_CURRENT)
text_mode=screen_to_ciolib(settings.startup_mode);
......
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