summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/animatedsprite.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/animatedsprite.cxx b/slideshow/source/engine/animatedsprite.cxx
index 2c1870119bcd..46379897168a 100644
--- a/slideshow/source/engine/animatedsprite.cxx
+++ b/slideshow/source/engine/animatedsprite.cxx
@@ -136,7 +136,7 @@ namespace slideshow
"AnimatedSprite::resize(): Could not create new sprite" );
// set attributes similar to previous sprite
- if( mpSprite && mbSpriteVisible )
+ if (mbSpriteVisible)
{
mpSprite->show();
mpSprite->setAlpha( mnAlpha );