X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/241d5f3d34d3bcabc6b91044a58dbe72f8ec30aa..16541a4ef4c409e27a047f898f9d770bdcfa9f30:/wxPython/wx/lib/ogl/_oglmisc.py diff --git a/wxPython/wx/lib/ogl/_oglmisc.py b/wxPython/wx/lib/ogl/_oglmisc.py index ad2640bc18..db2185c832 100644 --- a/wxPython/wx/lib/ogl/_oglmisc.py +++ b/wxPython/wx/lib/ogl/_oglmisc.py @@ -333,7 +333,7 @@ def GraphicsStraightenLine(point1, point2): elif abs(float(dy) / dx) > 1: point2[0] = point1[0] else: - point2[1] = point1[0] + point2[1] = point1[1]