<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<table class="diff-table tab-size " data-tab-size="8">
<tbody>
<tr>
<td class="blob-code blob-code-addition"><span
class="blob-code-inner">+ <span class="pl-c"><span
class="pl-c">{</span>$IF FPC_FULLVERSION>=30000<span
class="pl-c">}</span></span></span> </td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="diff-table tab-size " data-tab-size="8">
<tbody>
<tr>
<td class="blob-code blob-code-context"> <span
class="blob-code-inner"> <span class="pl-k">if</span>
TCharacter.IsSurrogate(WideChar(OrgCharCode)) <span
class="pl-k">then</span></span> </td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="diff-table tab-size " data-tab-size="8">
<tbody>
<tr>
<td class="blob-code blob-code-addition"> <span
class="blob-code-inner">+ <span class="pl-c"><span
class="pl-c">{</span>$ELSE<span class="pl-c">}</span></span></span>
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="diff-table tab-size " data-tab-size="8">
<tbody>
<tr>
<td class="blob-code blob-code-addition"> <span
class="blob-code-inner">+ <span class="pl-k">if</span>
False <span class="pl-k">then</span></span> </td>
</tr>
<tr>
</tr>
</tbody>
</table>
<table class="diff-table tab-size " data-tab-size="8">
<tbody>
<tr>
<td class="blob-code blob-code-addition"> <span
class="blob-code-inner">+ <span class="pl-c"><span
class="pl-c">{</span>$ENDIF<span class="pl-c">}</span></span></span>
</td>
</tr>
<tr>
</tr>
</tbody>
</table>
<span class="blob-code-inner"> WinProcess := True<br>
<br>
--this can be shorted, with one {$if..} {$endif}.<br>
</span>
<pre class="moz-signature" cols="72">--
Regards,
Alexey</pre>
</body>
</html>