<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 26.03.2013 16:57, Juha Manninen
      wrote:<br>
    </div>
    <br>
    <blockquote
cite="mid:CAPN1EhAzy6j7sRO5P5w8hsL9hiXCsQBy0gbWg=tUtUQgr8Te0A@mail.gmail.com"
      type="cite">
      <pre wrap="">
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  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a>
</pre>
    </blockquote>
    r21810 joost 7.7.2012<br>
    <meta name="qrichtext" content="1">
    <p style=" margin-top:0px; margin-bottom:0px; margin-left:0px;
      margin-right:0px; -qt-block-indent:0; text-indent:0px;"><!--StartFragment-->
      * Added ReplaceStr and ReplaceText functions, for Delphi
      compatibility<!--EndFragment--></p>
    <meta http-equiv="Content-Type" content="text/html;
      charset=ISO-8859-1">
    <style type="text/css">
p, li { white-space: pre-wrap; }
</style><br>
  </body>
</html>