Skip to content

Commit

Permalink
Fixes #83
Browse files Browse the repository at this point in the history
  • Loading branch information
matortheeternal committed Dec 29, 2015
1 parent d4bdf59 commit e2b181a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/mte/mteHelpers.pas
Original file line number Diff line number Diff line change
Expand Up @@ -173,8 +173,9 @@ function ShortenVersion(vs: string; numClauses: Integer): string;
var
i, numDots: Integer;
begin
Result := '';
numDots := 0;
for i := 0 to Pred(Length(vs)) do begin
for i := 1 to Pred(Length(vs)) do begin
if vs[i] = '.' then
Inc(numDots);
if numDots = numClauses then
Expand Down

0 comments on commit e2b181a

Please sign in to comment.