diff --git a/source/ide/ide_methods.bas b/source/ide/ide_methods.bas index 7f3b590b5..af45cd40e 100644 --- a/source/ide/ide_methods.bas +++ b/source/ide/ide_methods.bas @@ -13855,7 +13855,7 @@ SUB ideupdatehelpbox NEXT i COLOR 0, 7 - IF UpdateStep >= 5 THEN + IF UpdateStep = 5 THEN maxprogresswidth = 52 'arbitrary percentage = INT(n / c * 100) percentagechars = INT(maxprogresswidth * n / c) @@ -13863,6 +13863,10 @@ SUB ideupdatehelpbox percentageMsg$ = STRING$(percentagechars, 219) + STRING$(maxprogresswidth - percentagechars, 176) + STR$(percentage) + "%" LOCATE p.y + 4, p.x + (p.w \ 2 - LEN(percentageMsg$) \ 2) + 1 PRINT percentageMsg$; + ELSEIF UpdateStep = 6 THEN + percentageMsg$ = STRING$(maxprogresswidth, 219) + "100%" + LOCATE p.y + 4, p.x + (p.w \ 2 - LEN(percentageMsg$) \ 2) + 1 + PRINT percentageMsg$; END IF '-------- end of custom display changes --------