Heh. I'm the author of that example, and yes, while I tested under Linux, that specific case wasn't part of what I tested.
I don't have write access either. I posted all my submissions through Mantis as Graeme suggested.
Don't know Mantis? Click on Lazarus - Bug Tracker on the left hand side. Create an account, and submit your patch through "Lazarus CCR" Process is fairly straightforward. I've looked through your patch - looks good and you've avoided all the mistakes I made when I started submitting patches :-)
Many thanks
Mike