Sfoglia il codice sorgente

* Fixed stupid copy-paste error.

git-svn-id: branches/targetandroid@23423 -
yury 12 anni fa
parent
commit
f55c3a0331
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;