Fix variant-name recognition
authorH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 21 Oct 2014 20:07:09 +0000 (22:07 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Tue, 21 Oct 2014 20:07:09 +0000 (22:07 +0200)
commit0bff498964becbf1302e249da99c47c6d20afe3e
tree6eb27065569306ad51ad9fd9cd19e5c38e2974f9
parent6d862f543aa8a687641aaab3c77aa141c33c0f8d
Fix variant-name recognition

StringToVariant did recognize whether the name to recognize had suffuxes
compared to the tabulated name, but not if it had prefixes. So 'shoshogi'
would be recognized as 'shogi'.
backend.c