Skip to content
Browse files

pos and line starting at 1 in status line

  • Loading branch information...
1 parent e13c0bc commit 2acc1934bcd06424e77c7a8adfc4480a2510d960 @NotFound committed Dec 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 examples/pokedit.winxed
View
4 examples/pokedit.winxed
@@ -246,8 +246,8 @@ class StatusWindow : ChildWindow
function updatepos()
{
var tw = self.parent.textwindow;
- int curpos = tw.curpos;
- int curline = tw.curline;
+ int curpos = tw.curpos + 1;
+ int curline = tw.curline + 1;
int nwidth = self.nwidth;
int ascent = self.ascent;
int descent = self.descent;

0 comments on commit 2acc193

Please sign in to comment.
Something went wrong with that request. Please try again.