|
@@ -2564,7 +2564,7 @@ function StringRefCount(const S: UnicodeString): SizeInt; overload;
|
|
if assigned(Pointer(S)) then
|
|
if assigned(Pointer(S)) then
|
|
Result:=PUnicodeRec(pointer(S)-UnicodeFirstOff)^.Ref
|
|
Result:=PUnicodeRec(pointer(S)-UnicodeFirstOff)^.Ref
|
|
else
|
|
else
|
|
- Result:=SizeOf(UnicodeChar);
|
|
|
|
|
|
+ Result:=0;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
|