Skip to content

Commit fc32504

Browse files
committed
fixed defect code
1 parent b06b5a2 commit fc32504

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/Base/Spring.Comparers.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,7 @@ function GetHashCode_UString(const inst: Pointer; const value: string): Integer;
826826
begin
827827
Result := NativeInt(value);
828828
if Result <> 0 then
829-
Result := DefaultHashFunction(PPointer(Result)^, PInteger(PByte(value) - 4)^ * SizeOf(Char));
829+
Result := DefaultHashFunction(PPointer(value)^, PInteger(PByte(value) - 4)^ * SizeOf(Char));
830830
end;
831831

832832
function Compare_Variant_Complex(checkEquality: Boolean; const left, right: PVariant): Integer;

0 commit comments

Comments
 (0)