summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/browserbox.cpp')
-rw-r--r--src/gui/browserbox.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp
index 1f67670e..06660cd5 100644
--- a/src/gui/browserbox.cpp
+++ b/src/gui/browserbox.cpp
@@ -72,10 +72,8 @@ BrowserBox::~BrowserBox()
if (instances == 0)
{
// Clean up static resource font
- if (browserFont) {
- delete browserFont;
- browserFont = NULL;
- }
+ delete browserFont;
+ browserFont = NULL;
}
#endif
}