SynEdit: Prepare displaying ligatures (experimental, window only)

git-svn-id: trunk@39533 -
This commit is contained in:
martin 2012-12-14 05:12:14 +00:00
parent 9e7bee0700
commit 0034704084

View File

@ -79,7 +79,7 @@ var
{$endif}
begin
inherited DoGetPhysicalCharWidths(Line, LineLen, Index, PWidths);
if not IsUtf8 then
if (not IsUtf8) or (not FHandleOwner.HandleAllocated) then
exit;
{$IFDEF Windows}