]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix placeholder image not visible when a screenshot (in general an image with .forced...
authorterencehill <piuntn@gmail.com>
Sun, 20 Oct 2013 10:55:26 +0000 (12:55 +0200)
committerSamual Lenks <samual@xonotic.org>
Sun, 26 Jan 2014 04:35:11 +0000 (23:35 -0500)
commitb64ff640017f6c43870edc34f909bf0e1ea93c20
treea62afe7cd535a177faae8bb50b366ae887759872
parentfec15c23267fd669978b923d104a331bdb5c0674
Fix placeholder image not visible when a screenshot (in general an image with .forcedAspect < 0) can't be read. This patch also fixes a division by 0 upon menu init as screenshot name isn't initialized yet.
(cherry picked from commit 6605e0e9a21f2848846fa0f4b4b26eb75d9d2ce2)
qcsrc/menu/item/image.c