Skip to content

Commit

Permalink
weblocopener-57: trying fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benchdoos committed Oct 28, 2023
1 parent abc2fbe commit ccf8bc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/WeblocOpener.iss
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ begin
{ extract major }
if Copy(S, 1, 2) = '1.' then
begin
Delete(S, 1, 2)
Delete(S, 1, 2);
end;
P := Pos('.', S);
SetLength(S, P - 1);
SetLength(S, P - 2);
Log(Format('Major version: %s', [S]));
Result := StrToIntDef(S, 0);
Expand Down

0 comments on commit ccf8bc4

Please sign in to comment.