Skip to content

Commit 9954190

Browse files
committed
Update simba.pixelocr.pas
1 parent 654381e commit 9954190

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Source/simba.pixelocr.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,14 +609,15 @@ function TPixelOCR.RecognizeLines(Image: TSimbaImage; constref Font: TPixelFont;
609609
var
610610
isBinary: Boolean;
611611
Match: TPixelOCRMatch;
612+
i: Integer;
612613
begin
613614
if (Length(Font.Glyphs) = 0) then
614615
SimbaException('Font is empty');
615616

616617
if not AlphaNumSymbolTableInitialized then
617618
begin
618619
FillChar(AlphaNumSymbolTable, SizeOf(AlphaNumSymbolTable), False);
619-
for i to High(ALPHA_NUM_SYMBOLS) do
620+
for i := 0 to High(ALPHA_NUM_SYMBOLS) do
620621
AlphaNumSymbolTable[ALPHA_NUM_SYMBOLS[i]] := True;
621622
AlphaNumSymbolTableInitialized := True;
622623
end;

0 commit comments

Comments
 (0)