diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/browserbox.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index 3c389881..23da7225 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -76,7 +76,9 @@ BrowserBox::~BrowserBox() { #ifdef USE_OPENGL // Clean up static resource font - delete browserFont; + if (config.getValue("opengl", 0)) { + delete browserFont; + } #endif } } |