From aca14d26b0d9b0eca4c4896c32996792e3eeb136 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 15 Feb 2013 17:51:17 +0300 Subject: Fix code style. --- src/gui/widgets/browserbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui') 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) -- cgit v1.2.3-70-g09d2