Merged fix for IBM graphics glitches on Unix from 0.3 (2990-2991).

git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2992 c06c8d41-db1a-0410-9941-cceddc491573

Created by  dshaligram  on December 3, 2007
QOYITYZZM3BXITPZGSQGAVUM4T5H6ZL4QYRG5H5W7PSELOF2PO2QC
Change contents