diff options
author | nyamatongwe <devnull@localhost> | 2012-03-01 10:09:27 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2012-03-01 10:09:27 +1100 |
commit | a246752a2aedf005e1f6df9c8c7c64dd208cb834 (patch) | |
tree | 9e0ffdd2a7843e76ce4c6c15220d70f628110101 | |
parent | 7b2767f90c08c114ff85889323284ec6f709e13b (diff) | |
download | scintilla-mirror-a246752a2aedf005e1f6df9c8c7c64dd208cb834.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); |