diff options
-rw-r--r-- | src/gui/widgets/button.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/setupitem.cpp | 2 | ||||
-rw-r--r-- | src/utils/checkutils.cpp | 2 | ||||
-rw-r--r-- | src/utils/physfsrwops.cpp | 2 |
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); |