From 59eb2acac062e82501160a5aa3c5513aaa7046b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 27 Oct 2006 14:26:20 +0000 Subject: [PATCH] fixed typo in last commit: use YLOG2DEV for y coordinates, not XLOG2DEV git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/dfb/dc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dfb/dc.cpp b/src/dfb/dc.cpp index 6df3838932..60b3782b92 100644 --- a/src/dfb/dc.cpp +++ b/src/dfb/dc.cpp @@ -181,9 +181,9 @@ void wxDC::DoDrawLine(wxCoord x1, wxCoord y1, wxCoord x2, wxCoord y2) return; wxCoord xx1 = XLOG2DEV(x1); - wxCoord yy1 = XLOG2DEV(y1); + wxCoord yy1 = YLOG2DEV(y1); wxCoord xx2 = XLOG2DEV(x2); - wxCoord yy2 = XLOG2DEV(y2); + wxCoord yy2 = YLOG2DEV(y2); // FIXME: DrawLine() shouldn't draw the last pixel, but DFB's DrawLine() // does draw it. We should undo any change to the last pixel by -- 2.50.0