Confirmed fixed in r13195 as tested with the application in which this was originally discovered, thanks Jonas. Bruce Tulloch wrote: > I've reported this as an FPC bug: > > http://bugs.freepascal.org/view.php?id=13820 > > Cheers, Bruce. >