From 5d054a19fde10851f54a0773b6989565d7b60e99 Mon Sep 17 00:00:00 2001 From: "Patrick K. O'Brien" Date: Thu, 10 Apr 2003 23:12:04 +0000 Subject: [PATCH] Fix column count. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/wxPython/py/buffer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wxPython/wxPython/py/buffer.py b/wxPython/wxPython/py/buffer.py index e0c520cca3..a5a7ad902a 100644 --- a/wxPython/wxPython/py/buffer.py +++ b/wxPython/wxPython/py/buffer.py @@ -50,7 +50,7 @@ class Buffer: editor = self.editor pos = editor.GetCurrentPos() line = editor.LineFromPosition(pos) + 1 - col = editor.GetColumn(pos) + 1 + col = editor.GetColumn(pos) status = (self.doc.filepath or self.name, line, col) return status