Parcourir la source

* Fixed stupid copy-paste error.

git-svn-id: branches/targetandroid@23423 -
yury il y a 12 ans
Parent
commit
f55c3a0331
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      rtl/android/cwstring.pp

+ 1 - 1
rtl/android/cwstring.pp

@@ -65,7 +65,7 @@ var
 begin
   err:=0;
   Result:=ucnv_open(PAnsiChar(name), err);
-  if DefConv <> nil then begin
+  if Result <> nil then begin
     ucnv_setSubstChars(Result, '?', 1, err);
     ucnv_setFallback(Result, True);
   end;