X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/241d5f3d34d3bcabc6b91044a58dbe72f8ec30aa..b14b1312ace5e4056f68951679241bdd53f1f987:/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]