[fpc-devel] Re: Bug in StrUtils.ReplaceStr and ReplaceText
Juha Manninen
juha.manninen62 at gmail.com
Tue Mar 26 14:57:05 CET 2013
On Tue, Mar 26, 2013 at 3:36 PM, Flávio Etrusco
<flavio.etrusco at gmail.com> 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
More information about the fpc-devel
mailing list