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
Compare Revisions
528edd9f46b87aa5ce22c4d3904b23d2ba7d5bfc...5051ad349706be4e0254a0f2ce8761510b83b9dc
Commits (1)
Left for showbuf() is zero-based, calculate width appropriately.
· 5051ad34
Deucе
authored
Mar 03, 2022
5051ad34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/uifc/uifc32.c
src/uifc/uifc32.c
+1
-1
No files found.
src/uifc/uifc32.c
View file @
5051ad34
...
...
@@ -2716,7 +2716,7 @@ void showbuf(int mode, int left, int top, int width, int height, const char *tit
if
(
!
width
||
(
unsigned
)
width
<
title_len
+
6
)
width
=
title_len
+
6
;
if
((
unsigned
)(
width
+
left
)
>
api
->
scrn_width
)
width
=
api
->
scrn_width
-
left
+
1
;
width
=
api
->
scrn_width
-
left
;
if
(
mode
&
WIN_L2R
)
left
=
(
api
->
scrn_width
-
width
+
2
)
/
2
;
else
if
(
mode
&
WIN_RHT
)
...
...