We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a8b62c commit 9f4eeacCopy full SHA for 9f4eeac
wia.pas
@@ -728,7 +728,7 @@ function FullPathToRelativePath(const ABasePath: String; var APath: String): Boo
728
begin
729
Result:= (Pos(ABasePath, APath) = 1);
730
if Result
731
- then APath:= '.'+DirectorySeparator+Copy(APath, Length(ABasePath)-1, MaxInt);
+ then APath:= '.'+DirectorySeparator+Copy(APath, Length(ABasePath)+1, MaxInt);
732
end;
733
734
function WIAItemTypes(pItemType: LONG): TWIAItemTypes;
0 commit comments