mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-06-07 04:59:26 +02:00
* fixes for new widestring handling
This commit is contained in:
parent
431777f64d
commit
b1cbfd4c5c
@ -33,15 +33,13 @@ end;
|
|||||||
Procedure MakeWideString (Var P : PWideChar; W : WideString);
|
Procedure MakeWideString (Var P : PWideChar; W : WideString);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
WideString(Pointer(P)):=W;
|
P:=W;
|
||||||
UniqueString(WideString(P));
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar);
|
Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
WideString(Pointer(PDest)):=WideString(Pointer(PSource));
|
PDest:=WideString(PSource);
|
||||||
UniqueString(WideString(PDest));
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{ ---------------------------------------------------------------------
|
{ ---------------------------------------------------------------------
|
||||||
@ -711,7 +709,10 @@ end;
|
|||||||
{$endif HASVARIANT}
|
{$endif HASVARIANT}
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.8 2002-09-07 16:01:23 peter
|
Revision 1.9 2002-10-11 12:21:55 florian
|
||||||
|
* fixes for new widestring handling
|
||||||
|
|
||||||
|
Revision 1.8 2002/09/07 16:01:23 peter
|
||||||
* old logs removed and tabs fixed
|
* old logs removed and tabs fixed
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user