summaryrefslogtreecommitdiff
path: root/displayreplay.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2013-12-06 17:11:41 +0100
committerlouis <louis.braun@gmx.de>2013-12-06 17:11:41 +0100
commit823697ae40851f843d6713b5b63670e0d55e5e3a (patch)
treed6bae6f8c36e081f7d17b9698544d6b3f4919691 /displayreplay.c
parentc599d72dda9e55c64ab07018e24983e7a759618a (diff)
downloadskin-nopacity-823697ae40851f843d6713b5b63670e0d55e5e3a.tar.gz
skin-nopacity-823697ae40851f843d6713b5b63670e0d55e5e3a.tar.bz2
fixed bug in displayreplay if no foreground image is defined
Diffstat (limited to 'displayreplay.c')
-rw-r--r--displayreplay.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/displayreplay.c b/displayreplay.c
index 79135dc..4ffb537 100644
--- a/displayreplay.c
+++ b/displayreplay.c
@@ -175,6 +175,8 @@ void cNopacityDisplayReplay::DrawBackground(void) {
cImage *imgTop = imgCache->GetSkinElement(seReplayTop);
if (imgTop)
pixmapTop->DrawImage(cPoint(0,0), *imgTop);
+ else
+ pixmapTop->Fill(clrTransparent);
} else {
pixmapBackground->Fill(Theme.Color(clrReplayBackground));
pixmapTop->Fill(clrTransparent);