Skip to content

Commit

Permalink
Fix TAsset.SaveIdentityToFile when Root is empty
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeneilyin committed Nov 1, 2019
1 parent a41d5ed commit a2ef5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion BoilerplateAssets.pas
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ function TAsset.SaveIdentityToFile(const Root: TFileName;
{$ENDIF}

if Root = '' then
Delete(Result, 1, 1);
Delete(Result, 1, 1)
else if Root[Length(Root)] = PathDelim then
Result := Root + Result
else
Expand Down

0 comments on commit a2ef5b9

Please sign in to comment.