crop_sprite(): assert that source sprite exists.
commit923bdb85c465bc82f430566d8a8735136221a274
authorsveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 2 Nov 2016 14:24:32 +0000 (2 14:24 +0000)
committersveinung <sveinung@a0f10bec-cc02-0410-94fc-a9cfff90b4cd>
Wed, 2 Nov 2016 14:24:32 +0000 (2 14:24 +0000)
tree3b497e6720f836a7fa68b4d8bdc1c214b98acfa8
parent89642d618a10f27225c4f88b2a878fcbd68f49d2
crop_sprite(): assert that source sprite exists.

Assert the existence of the source sprite in the crop_sprite()
implementation of the Qt client and of the GTK clients.

See patch #7900

git-svn-id: svn://svn.gna.org/svn/freeciv/trunk@34329 a0f10bec-cc02-0410-94fc-a9cfff90b4cd
client/gui-gtk-2.0/sprite.c
client/gui-gtk-3.0/sprite.c
client/gui-gtk-3.22/sprite.c
client/gui-qt/sprite.cpp