diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-15 17:51:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-15 17:51:17 +0300 |
commit | aca14d26b0d9b0eca4c4896c32996792e3eeb136 (patch) | |
tree | 0b49c85d09cd2b590a2aa6560f274ddf661af8ef /src/gui/widgets/browserbox.cpp | |
parent | fc7afe25c154fb05e9d4c0a593457599eb53e558 (diff) | |
download | mv-aca14d26b0d9b0eca4c4896c32996792e3eeb136.tar.gz mv-aca14d26b0d9b0eca4c4896c32996792e3eeb136.tar.bz2 mv-aca14d26b0d9b0eca4c4896c32996792e3eeb136.tar.xz mv-aca14d26b0d9b0eca4c4896c32996792e3eeb136.zip |
Fix code style.
Diffstat (limited to 'src/gui/widgets/browserbox.cpp')
-rw-r--r-- | src/gui/widgets/browserbox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/browserbox.cpp b/src/gui/widgets/browserbox.cpp index cf11f577d..ddd21f5dd 100644 --- a/src/gui/widgets/browserbox.cpp +++ b/src/gui/widgets/browserbox.cpp @@ -441,7 +441,7 @@ void BrowserBox::draw(gcn::Graphics *graphics) int BrowserBox::calcHeight() { - unsigned x = mPadding, y = mPadding; + unsigned int y = mPadding; int wrappedLines = 0; int moreHeight = 0; int maxWidth = getWidth() - mPadding; @@ -467,9 +467,9 @@ int BrowserBox::calcHeight() FOR_EACH (TextRowCIter, i, mTextRows) { + unsigned int x = mPadding; const std::string row = *(i); bool wrapped = false; - x = mPadding; // Check for separator lines if (row.find("---", 0) == 0) |