Remove trailing whitespace, patch by Markus Oberhumer.