Browse Source

* olestring copying fixed

florian 20 years ago
parent
commit
8741afb6cc
1 changed files with 5 additions and 2 deletions
  1. 5 2
      rtl/objpas/varutils.inc

+ 5 - 2
rtl/objpas/varutils.inc

@@ -39,7 +39,7 @@ end;
 Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar);
 Procedure CopyAsWideString (Var PDest : PWideChar; PSource : PWideChar);
 
 
 begin
 begin
-  PDest:=PWideChar(WideString(PSource));
+  WideString(Pointer(PDest)):=WideString(Pointer(PSource));
 end;
 end;
 
 
 { ---------------------------------------------------------------------
 { ---------------------------------------------------------------------
@@ -710,7 +710,10 @@ end;
 {$endif HASVARIANT}
 {$endif HASVARIANT}
 {
 {
   $Log$
   $Log$
-  Revision 1.13  2005-01-15 18:47:26  florian
+  Revision 1.14  2005-01-16 16:15:30  florian
+    * olestring copying fixed
+
+  Revision 1.13  2005/01/15 18:47:26  florian
     * several variant init./final. stuff fixed
     * several variant init./final. stuff fixed
 
 
   Revision 1.12  2005/01/08 16:19:42  florian
   Revision 1.12  2005/01/08 16:19:42  florian