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.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/guichan/widgets/textbox.cpp b/src/guichan/widgets/textbox.cpp
index c858c7ede..bfb6aff89 100644
--- a/src/guichan/widgets/textbox.cpp
+++ b/src/guichan/widgets/textbox.cpp
@@ -112,7 +112,6 @@ namespace gcn
std::string sub = text.substr(lastPos, length);
mTextRows.push_back(sub);
lastPos = pos + 1;
-
} while (pos != std::string::npos);
adjustSize();
@@ -176,7 +175,7 @@ namespace gcn
{
mCaretRow = row;
mCaretColumn = position;
- return; // we are done
+ return; // we are done
}
else
{
@@ -319,4 +318,4 @@ namespace gcn
{
mOpaque = opaque;
}
-}
+} // namespace gcn