1e0ae6ed15
Contributed by Adam Antal. (Revised patch applied after stevel committed the wrong one; that has been reverted)