mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-23 06:19:47 +02:00
PoChecker: fixed off-by-one errors when showing updating/drawing progress in Graphical Statistics window
git-svn-id: trunk@58710 -
This commit is contained in:
parent
c03952b491
commit
f2caf1009a
@ -206,7 +206,7 @@ begin
|
||||
try
|
||||
if All=true then
|
||||
StatusLabel.Caption := Format(sProcessingTranslationFamilyOf, [
|
||||
IntToStr(i), IntToStr(PoFamilyList.Count)])
|
||||
IntToStr(i + 1), IntToStr(PoFamilyList.Count)])
|
||||
else
|
||||
StatusLabel.Caption := sProcessingTranslationFamily;
|
||||
StatusLabel.Repaint;
|
||||
@ -411,7 +411,7 @@ begin
|
||||
StatusLabel.Visible := True;
|
||||
for Index := 0 to FPoFamilyStats.Count - 1 do
|
||||
begin
|
||||
StatusLabel.Caption := Format(sCreatingIconXofY,[Index, Cnt]);
|
||||
StatusLabel.Caption := Format(sCreatingIconXofY,[Index + 1, Cnt]);
|
||||
StatusLabel.Repaint;
|
||||
AStat := FPoFamilyStats.Items[Index];
|
||||
Bmp := CreateBitmap(AStat);
|
||||
|
Loading…
Reference in New Issue
Block a user