Fixed a bug with displaying strings padded with blanks.