2
0
Эх сурвалжийг харах

Merged revisions 8078 via svnmerge from
svn+ssh://[email protected]/FPC/svn/fpc/trunk

........
r8078 | Almindor | 2007-07-16 20:24:32 +0200 (Mon, 16 Jul 2007) | 2 lines

* fix UnicodeToUtf8 if Dest is nil, patch by Sergei Gorelkin

........

git-svn-id: branches/fixes_2_2@8099 -

joost 18 жил өмнө
parent
commit
d7e4349f30
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      rtl/inc/wstrings.inc

+ 1 - 0
rtl/inc/wstrings.inc

@@ -1515,6 +1515,7 @@ function UnicodeToUtf8(Dest: PChar; MaxDestBytes: SizeUInt; Source: PWideChar; S
               else
                 inc(j,3);
             end;
+            inc(i);
           end;
       end;
     result:=j+1;