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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp
index 7a8d8588..fd1a235c 100644
--- a/src/gui/browserbox.cpp
+++ b/src/gui/browserbox.cpp
@@ -23,6 +23,7 @@
#include "browserbox.h"
#include "gui.h"
+#include "main.h"
int BrowserBox::instances = 0;
gcn::ImageFont* BrowserBox::browserFont;
@@ -41,7 +42,7 @@ BrowserBox::BrowserBox(unsigned int mode):
{
#ifdef USE_OPENGL
browserFont = new gcn::ImageFont(
- "data/graphics/gui/browserfont.png",
+ TMW_DATADIR "data/graphics/gui/browserfont.png",
" abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567"
"89:@!\"$%&/=?^+*#[]{}()<>_;'.,\\|-~`");
#else