aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/wince/CEgui/GUIElement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/wince/CEgui/GUIElement.cpp')
-rw-r--r--backends/platform/wince/CEgui/GUIElement.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/backends/platform/wince/CEgui/GUIElement.cpp b/backends/platform/wince/CEgui/GUIElement.cpp
index a37182e69d..23e7843de1 100644
--- a/backends/platform/wince/CEgui/GUIElement.cpp
+++ b/backends/platform/wince/CEgui/GUIElement.cpp
@@ -120,8 +120,7 @@ namespace CEGUI {
}
GUIElement::~GUIElement() {
- if (_background)
- delete _background;
+ delete _background;
}
}