Prevent crash on specifying non-existent texture XB
authorH.G.Muller <hgm@hgm-xboard.(none)>
Mon, 22 Sep 2014 18:39:21 +0000 (20:39 +0200)
committerH.G.Muller <hgm@hgm-xboard.(none)>
Sun, 28 Sep 2014 20:14:27 +0000 (22:14 +0200)
commita79a38d1732331e3920ee06fde662fa0f4bc1405
treeb02fbe2ed891f072870dac18932b35a4499ce530
parentbfe8eb2a44461434b4572e4e938b3ab4fa657644
Prevent crash on specifying non-existent texture XB

By setting the texture width to 0 when the texture could not be loaded,
XBoard will never attempt to draw it.
dialogs.c
draw.c