diff options
author | nyamatongwe <unknown> | 2012-03-01 10:09:27 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-03-01 10:09:27 +1100 |
commit | e3fc747b2c8c970566d19f11777897c153d86629 (patch) | |
tree | d0abdb162569bd21000370918a8eb92f241ee424 | |
parent | dfca9098862bd6594fe0b5479eb455de8d766a97 (diff) | |
download | scintilla-mirror-e3fc747b2c8c970566d19f11777897c153d86629.tar.gz |
Remove duplicated code. Bug #3494492. From Marko Njezic.
-rw-r--r-- | win32/PlatWin.cxx | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index bf49c4d71..61e8b34d5 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -1398,7 +1398,6 @@ void SurfaceD2D::Polygon(Point *pts, int npts, ColourDesired fore, ColourDesired void SurfaceD2D::RectangleDraw(PRectangle rc, ColourDesired fore, ColourDesired back) { if (pRenderTarget) { - D2DPenColour(back); D2D1_RECT_F rectangle1 = D2D1::RectF(RoundFloat(rc.left) + 0.5, rc.top+0.5, RoundFloat(rc.right) - 0.5, rc.bottom-0.5); D2DPenColour(back); pRenderTarget->FillRectangle(&rectangle1, pBrush); |