summaryrefslogtreecommitdiff
path: root/src/gui/browserbox.cpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-22 08:51:16 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-09-22 08:51:16 +0000
commit720f758a8c6bece45e0d2d42e48bed67167f26c6 (patch)
treed04c4d157f19c3afe8a45d8f39be54aee43c8608 /src/gui/browserbox.cpp
parent491b9ec1230dd010466d698aba903fed5bcedee2 (diff)
downloadmana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.gz
mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.bz2
mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.tar.xz
mana-720f758a8c6bece45e0d2d42e48bed67167f26c6.zip
Cleaned a bit.
Diffstat (limited to 'src/gui/browserbox.cpp')
-rw-r--r--src/gui/browserbox.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/gui/browserbox.cpp b/src/gui/browserbox.cpp
index b69fdcbe..18853221 100644
--- a/src/gui/browserbox.cpp
+++ b/src/gui/browserbox.cpp
@@ -21,14 +21,9 @@
* $Id$
*/
-#include "browserbox.h"
-
#include <algorithm>
-#include <iostream>
-#include <guichan/graphics.hpp>
-#include <guichan/imagefont.hpp>
-#include <guichan/mouseinput.hpp>
+#include "browserbox.h"
#include "linkhandler.h"
#include "truetypefont.h"
@@ -261,7 +256,7 @@ BrowserBox::draw(gcn::Graphics *graphics)
}
}
- unsigned int i, j;
+ unsigned int i;
int x = 0, y = 0;
int wrappedLines = 0;
TrueTypeFont *font = static_cast<TrueTypeFont*>(getFont());