Correct promotion zone for blacked-out ranks
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 22 Dec 2016 20:22:28 +0000 (21:22 +0100)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Fri, 13 Jan 2017 15:39:25 +0000 (16:39 +0100)
commitab773ff40f992d0462d500b429d4df863be9d288
treeb1eda42e3cacaeac44fdee4ef1dc7bc0c96934f6
parent17ba0a5700c51a10be8b60125de6664fe3db9d84
Correct promotion zone for blacked-out ranks

When the window height has to be larger than the board height, to accomodate
the holdings (as in Wa Shogi), this is done by defining the board height as
large as the holdings size, and blacking out the extra ranks. But when the
depth is calculated as 1/3 of the board height, it should use the real
board height, not the artificially enlarged one.
backend.c