From 189e03a2f26434284684772306a95e3caeb6fb25 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 18 Oct 2007 23:08:05 +0000 Subject: Fixed two forgotten main.h includes which caused OpenGL option in the setup dialog and the font used in OpenGL mode in the BrowserBox not to function. --- src/gui/browserbox.cpp | 3 +-- src/gui/browserbox.h | 1 + src/gui/setup_video.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp index 65fdde64..21609434 100644 --- a/src/gui/browserbox.cpp +++ b/src/gui/browserbox.cpp @@ -21,14 +21,13 @@ * $Id$ */ -#include "browserbox.h" - #include #include #include #include +#include "browserbox.h" #include "linkhandler.h" #ifdef USE_OPENGL diff --git a/src/gui/browserbox.h b/src/gui/browserbox.h index bd853cb4..666a7754 100644 --- a/src/gui/browserbox.h +++ b/src/gui/browserbox.h @@ -31,6 +31,7 @@ #include #include "../guichanfwd.h" +#include "../main.h" class LinkHandler; diff --git a/src/gui/setup_video.cpp b/src/gui/setup_video.cpp index d2c6d93c..cd1507a7 100644 --- a/src/gui/setup_video.cpp +++ b/src/gui/setup_video.cpp @@ -42,6 +42,7 @@ #include "../configuration.h" #include "../graphics.h" #include "../log.h" +#include "../main.h" #include "../utils/tostring.h" -- cgit v1.2.3-70-g09d2