Kaydet (Commit) 4aa157e1 authored tarafından Norbert Thiebaud's avatar Norbert Thiebaud

fix typo in coverity#704538-9

Change-Id: If4868ad8190fcb1a64ae6fc18791d7a266d1b1e9
üst 8c95c0e7
...@@ -416,7 +416,7 @@ PrinterGfx::DrawBitmap (const Rectangle& rDest, const Rectangle& rSrc, ...@@ -416,7 +416,7 @@ PrinterGfx::DrawBitmap (const Rectangle& rDest, const Rectangle& rSrc,
{ {
fScaleX = (double)rDest.GetWidth() / (double)rSrc.GetWidth(); fScaleX = (double)rDest.GetWidth() / (double)rSrc.GetWidth();
} }
if(rSrc.GetHeigth() > 0) if(rSrc.GetHeight() > 0)
{ {
fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight(); fScaleY = (double)rDest.GetHeight() / (double)rSrc.GetHeight();
} }
......
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