Explorar o código

* Fixed stupid copy-paste error.

git-svn-id: branches/targetandroid@23423 -
yury %!s(int64=12) %!d(string=hai) anos
pai
achega
f55c3a0331
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rtl/android/cwstring.pp

+ 1 - 1
rtl/android/cwstring.pp

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