Kaydet (Commit) 6b929c75 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1242882 Result is not floating-point

Change-Id: I5072c29188e33b5711e67188441c497bf8759891
üst 2f2f22f9
...@@ -492,8 +492,8 @@ void PresenterHelpView::Resize (void) ...@@ -492,8 +492,8 @@ void PresenterHelpView::Resize (void)
- mpCloseButton->GetSize().Height - gnVerticalButtonPadding; - mpCloseButton->GetSize().Height - gnVerticalButtonPadding;
mpCloseButton->SetCenter(geometry::RealPoint2D( mpCloseButton->SetCenter(geometry::RealPoint2D(
aWindowBox.Width/2, aWindowBox.Width/2.0,
aWindowBox.Height - mpCloseButton->GetSize().Height/2)); aWindowBox.Height - mpCloseButton->GetSize().Height/2.0));
CheckFontSize(); CheckFontSize();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment