summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 5f69dcf51..aafd79627 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -46,7 +46,7 @@ class TextBox : public gcn::TextBox
/**
* Sets the text after wrapping it to the current width of the widget.
*/
- void setTextWrapped(const std::string &text, int minDimension);
+ void setTextWrapped(const std::string &text, const int minDimension);
/**
* Get the minimum text width for the text box.