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
aa4180ee
Commit
aa4180ee
authored
May 19, 2021
by
Deucе
👌🏾
Browse files
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/syncterm/syncterm.c
src/syncterm/syncterm.c
+1
-1
No files found.
src/syncterm/syncterm.c
View file @
aa4180ee
...
...
@@ -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
);
...
...
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