Skip to content

Commit f488652

Browse files
Fixed WinSCP connection
1 parent e8c00c0 commit f488652

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

bftps/lib/libbftps.a

200 Bytes
Binary file not shown.

source/menus/menu_ftp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ void Menu_DisplayFTP(void) {
7878
Draw_Text(((320 - Draw_GetTextWidth(0.45f, buf2)) / 2), 150, 0.45f, WHITE, buf2);
7979
Draw_Text(((320 - Draw_GetTextWidth(0.35f, my_basename(file->name))) / 2), 170, 0.35f, WHITE, my_basename(file->name));
8080
position = 0;
81-
progress = round(fraction * (float)xlim);
81+
progress = 40+round(fraction * (float)(xlim-40));
8282
}
8383
else {
8484
snprintf(buf2, 512, "Receiving %.2fMB",

0 commit comments

Comments
 (0)