Preserve parent variant for PGN of engine-defined game
authorH.G.Muller <hgm@hgm-xboard.(none)>
Thu, 16 Oct 2014 18:29:27 +0000 (20:29 +0200)
committerArun Persaud <arun@nubati.net>
Fri, 17 Oct 2014 06:14:07 +0000 (23:14 -0700)
commit1a37d04c539f7b8d702c9ea76009ee196969ca38
treea279171f2af3d2d1bbdb91a713416cf1aa3efff5
parentcf26b3e8a4d056c93860f4292d9cd5fc5cb00890
Preserve parent variant for PGN of engine-defined game

Rather than decoding an unknown variant name, (which will result in
'normal'), we keep the currently set (parent) variant when an
engine-defined variant is currently set that matches the name in
the PGN variant tag of the loaded game.
pgntags.c