Fix quoting in Load Engine dialog
authorH.G. Muller <h.g.muller@hccnet.nl>
Wed, 24 Aug 2011 07:51:10 +0000 (09:51 +0200)
committerH.G. Muller <h.g.muller@hccnet.nl>
Fri, 26 Aug 2011 11:04:12 +0000 (13:04 +0200)
commit6432014c48da91b241816d8d97c1ec76bee305c8
treeb5dcbcbc9900849246abef68f08e8ab1fe6ecadf
parent20da18ecff230e9460827a80d4c2608da12190fa
Fix quoting in Load Engine dialog

A (space-contaning)  engine name only needs quoting when there are parameters,
because the over-all engine command will be quoted anyway. For UCI engines
duplicate quoting is fatal, because when passed as the -ec argument of
Polyglot, it will be quoted yet another time, also with double quotes.
backend.c