Skip to content

Commit 2acc193

Browse files
committed
pos and line starting at 1 in status line
1 parent e13c0bc commit 2acc193

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pokedit.winxed

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,8 @@ class StatusWindow : ChildWindow
246246
function updatepos()
247247
{
248248
var tw = self.parent.textwindow;
249-
int curpos = tw.curpos;
250-
int curline = tw.curline;
249+
int curpos = tw.curpos + 1;
250+
int curline = tw.curline + 1;
251251
int nwidth = self.nwidth;
252252
int ascent = self.ascent;
253253
int descent = self.descent;

0 commit comments

Comments
 (0)