angband/angband — pull request #161 by takkaria (2012-05-06 00:49:00+00:00)
Title: Attempt a fix for #1460 - as posted on the forum

Not been able to test this (not got a machine with SDL installed to hand) but it should work.