Skip to content

Commit

Permalink
Missed a ')'.
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Kassebaum committed Jul 19, 2016
1 parent cb9647a commit 6631011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PdfFonts.pas
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,7 @@ function TPdfType1Font.GetCharWidth(AText: string; APos: integer): integer;
var
lDefaultWidth: Word;
begin
if not FArray.TryGetValue(Ord(AText[APos], Result) then
if not FArray.TryGetValue(Ord(AText[APos]), Result) then
begin
// initialize char widths array by default value (if missing width parameter
// is defined, use it as default value.)
Expand Down

0 comments on commit 6631011

Please sign in to comment.