aboutsummaryrefslogtreecommitdiff
path: root/src/gui/guiItemImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/guiItemImage.h')
-rw-r--r--src/gui/guiItemImage.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/gui/guiItemImage.h b/src/gui/guiItemImage.h
index 6fede6564..ced693ee2 100644
--- a/src/gui/guiItemImage.h
+++ b/src/gui/guiItemImage.h
@@ -28,15 +28,12 @@ class GUIItemImage : public gui::IGUIElement
{
public:
GUIItemImage(gui::IGUIEnvironment *env, gui::IGUIElement *parent, s32 id,
- const core::rect<s32> &rectangle, const std::string &item_name,
- gui::IGUIFont *font, Client *client);
+ const core::rect<s32> &rectangle, const std::string &item_name,
+ gui::IGUIFont *font, Client *client);
virtual void draw() override;
- virtual void setText(const wchar_t *text) override
- {
- m_label = text;
- }
+ virtual void setText(const wchar_t *text) override { m_label = text; }
private:
std::string m_item_name;