summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-28 21:33:08 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-28 21:33:08 +0300
commit8a3adb5dc695fec3f4db5f0705c53687862fb801 (patch)
tree37809579bdc856c62cc99360ee17262d415ff03a /src
parent6ffd428383326c7b77e1b5e1777ae3a9f2e4156b (diff)
downloadManaVerse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.gz
ManaVerse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.bz2
ManaVerse-8a3adb5dc695fec3f4db5f0705c53687862fb801.tar.xz
ManaVerse-8a3adb5dc695fec3f4db5f0705c53687862fb801.zip
Add some missing debug includes.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/button.cpp2
-rw-r--r--src/gui/widgets/setupitem.cpp2
-rw-r--r--src/utils/checkutils.cpp2
-rw-r--r--src/utils/physfsrwops.cpp2
4 files changed, 7 insertions, 1 deletions
diff --git a/src/gui/widgets/button.cpp b/src/gui/widgets/button.cpp
index 10a64a3d3..b430dfebb 100644
--- a/src/gui/widgets/button.cpp
+++ b/src/gui/widgets/button.cpp
@@ -447,5 +447,5 @@ void Button::adjustSize()
void Button::setCaption(const std::string& caption)
{
mCaption = caption;
- adjustSize();
+// adjustSize();
}
diff --git a/src/gui/widgets/setupitem.cpp b/src/gui/widgets/setupitem.cpp
index 7c15ea785..b3a018813 100644
--- a/src/gui/widgets/setupitem.cpp
+++ b/src/gui/widgets/setupitem.cpp
@@ -47,6 +47,8 @@
#include <guichan/font.hpp>
+#include "debug.h"
+
SetupItem::SetupItem(std::string text, std::string description,
std::string keyName, SetupTabScroll *parent,
std::string eventName, bool mainConfig) :
diff --git a/src/utils/checkutils.cpp b/src/utils/checkutils.cpp
index 64bb42d0c..abbc6138a 100644
--- a/src/utils/checkutils.cpp
+++ b/src/utils/checkutils.cpp
@@ -24,6 +24,8 @@
#include "logger.h"
+#include "debug.h"
+
bool reportFalseReal(bool val, const char* file, unsigned line)
{
if (!val)
diff --git a/src/utils/physfsrwops.cpp b/src/utils/physfsrwops.cpp
index 2675b89ae..19b08d4c7 100644
--- a/src/utils/physfsrwops.cpp
+++ b/src/utils/physfsrwops.cpp
@@ -27,6 +27,8 @@
#include "localconsts.h"
+#include "debug.h"
+
static int physfsrwops_seek(SDL_RWops *rw, int offset, int whence)
{
PHYSFS_file *handle = static_cast<PHYSFS_file *>(rw->hidden.unknown.data1);