[Lazarus] TLRSObjectReader.SkipValue
Mattias Gaertner
nc-gaertnma at netcologne.de
Mon Oct 31 16:33:53 CET 2011
Hans-Peter Diettrich <DrDiettrich1 at aol.com> hat am 31. Oktober 2011 um 15:31
geschrieben:
> I'm not sure, but the handling of Wide/Unicode strings looks wrong:
>
> vaBinary, vaLString, vaWString{$IFNDEF VER2_2}, vaUString{$ENDIF}:
> begin
> Count:=ReadIntegerContent;
> SkipBytes(Count);
> end;
>
> For WideChars Count*2 bytes have to be skipped, according to e.g.
> ReadWideString.
Thanks for the hint.
Fixed in svn trunk.
Mattias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20111031/1e42f203/attachment-0003.html>
More information about the Lazarus
mailing list