Delete trailing spaces.

An updated version of pawurb's patch #634.