From f315432679f760b71505e74dcb2185b7aef7a906 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 29 Sep 2013 17:24:52 +0300 Subject: change smaller letter literalt into capital letter. --- src/gui/widgets/textpreview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/textpreview.cpp') diff --git a/src/gui/widgets/textpreview.cpp b/src/gui/widgets/textpreview.cpp index f78c48894..bb31993bd 100644 --- a/src/gui/widgets/textpreview.cpp +++ b/src/gui/widgets/textpreview.cpp @@ -86,7 +86,7 @@ void TextPreview::draw(gcn::Graphics* graphics) mAlpha = client->getGuiAlpha(); Graphics *const g = static_cast(graphics); - const int intAlpha = static_cast(mAlpha * 255.0f); + const int intAlpha = static_cast(mAlpha * 255.0F); const int alpha = mTextAlpha ? intAlpha : 255; if (mOpaque) @@ -94,7 +94,7 @@ void TextPreview::draw(gcn::Graphics* graphics) g->setColor(gcn::Color(static_cast(mBGColor->r), static_cast(mBGColor->g), static_cast(mBGColor->b), - static_cast(mAlpha * 255.0f))); + static_cast(mAlpha * 255.0F))); g->fillRectangle(gcn::Rectangle(0, 0, mDimension.width, mDimension.height)); } -- cgit v1.2.3-70-g09d2