workaround for error message for missing pieces used in variants and initstring bugfix v4.4.0.beta2
authorH.G. Muller <h.g.muller@hccnet.nl>
Tue, 1 Sep 2009 03:29:49 +0000 (20:29 -0700)
committerArun Persaud <arun@nubati.net>
Tue, 1 Sep 2009 03:29:49 +0000 (20:29 -0700)
commit495294ea0ecf08fae79348f0599b33047936dfc0
tree0b585674b4c29a563e8bdb5f25b6a7e72de3874e
parent346bc8afc6c039130799184836dca1f879d74489
workaround for error message for missing pieces used in variants and initstring bugfix

error messages showed for non-existing pieces showed up for old user supplied pixmaps. Loading a pixmap of the king for the missing pieces now.

Another bad bug surfaced: the -initString argument does not work in any
XBoard version! (Including 4.2.7b) The escape sequences for linefeed in
the string are not understood: -initString "new\nrandom\n" actually sends
the \ and n to the engine (which then does not recognize the line as a
valid command)!

So I also added a patch to expand escape sequences in the InitString and
ComputerString command-line options.
xboard.c