Another patch from Steve Langasek <vorlon@netexpress.net>, again from the