summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/textbox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/textbox.cpp')
-rw-r--r--src/guichan/widgets/textbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp
index fc133ba9b..2c6066976 100644
--- a/src/guichan/widgets/textbox.cpp
+++ b/src/guichan/widgets/textbox.cpp
@@ -319,7 +319,7 @@ namespace gcn
return mEditable;
}
- void TextBox::addRow(const std::string row)
+ void TextBox::addRow(const std::string &row)
{
mTextRows.push_back(row);
adjustSize();