summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/textbox.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-14 11:27:04 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-14 12:34:23 +0300
commita7d7346b9eb3fa62a8912e31d5c00f8e05390425 (patch)
treeba2d006e8aaac74138eb13ba458d30abf8f01182 /src/guichan/widgets/textbox.cpp
parent9569f124d176b4220f28f9a41812c33883737228 (diff)
downloadplus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.gz
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.bz2
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.tar.xz
plus-a7d7346b9eb3fa62a8912e31d5c00f8e05390425.zip
some more style fixes from cpplint.
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