EditBoard: fix error handling in piece setting.
commite575a64304bf46ab7bcc29634a982dae82721af5
authorYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 13:51:28 +0000 (16 14:51 +0100)
committerYann Dirson <ydirson@free.fr>
Sun, 16 Feb 2014 15:11:18 +0000 (16 16:11 +0100)
tree932689ef5feab78418861940a07d9d317fbfa95d
parent7f3af18fa68d730123d6c199ec2b8b28f487acec
EditBoard: fix error handling in piece setting.

On invalid piece name, the code was anyway destroying any piece in the
target location, and the whole logic was diluted.
NEWS
gnushogi/cursesdsp.c
gnushogi/rawdsp.c