On Tue, Mar 26, 2013 at 3:36 PM, Flávio Etrusco
<[email protected]> wrote:
>> functions ReplaceStr and ReplaceText don't set their results (in trunk).
> The bug is also present in 2.6.2.

True. They just call AnsiReplaceStr and AnsiReplaceText, without setting Result.
A workaround is to use the Ansi... functions.

This bug has maybe been there forever, unless somebody decided to
remove the "Result := " part, which would be odd.

Juha
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to