]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/lib/ogl/_oglmisc.py
fix a typo causing the wrong method to be called.
[wxWidgets.git] / wxPython / wx / lib / ogl / _oglmisc.py
index ad2640bc18839991ddb4edb408e2fbbf5315aa39..db2185c8322d72098868b0a46285f10bd52d0406 100644 (file)
@@ -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]