From b6fb2326ffa687f6028d991e2d6203b3f2a92c5a Mon Sep 17 00:00:00 2001
From: Bjørn Lindeijer <bjorn@lindeijer.nl>
Date: Fri, 1 May 2009 12:15:43 +0200
Subject: Fixed reference to selection.png not being cleared

---
 src/gui/emotecontainer.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gui/emotecontainer.cpp b/src/gui/emotecontainer.cpp
index 3425cde8..3003b949 100644
--- a/src/gui/emotecontainer.cpp
+++ b/src/gui/emotecontainer.cpp
@@ -70,7 +70,7 @@ EmoteContainer::EmoteContainer():
 
 EmoteContainer::~EmoteContainer()
 {
-    if (!mSelImg)
+    if (mSelImg)
     {
        mSelImg->decRef();
        mSelImg = NULL;
-- 
cgit v1.2.3-70-g09d2