diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mg/display.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mg/display.c b/usr.bin/mg/display.c index 5f00d4aa078..fc689786c15 100644 --- a/usr.bin/mg/display.c +++ b/usr.bin/mg/display.c @@ -1,4 +1,4 @@ -/* $OpenBSD: display.c,v 1.35 2007/05/28 17:52:17 kjell Exp $ */ +/* $OpenBSD: display.c,v 1.36 2008/06/11 19:35:37 kjell Exp $ */ /* This file is in the public domain. */ @@ -836,7 +836,7 @@ modeline(struct mgwin *wp) if (linenos) { len = snprintf(sl, sizeof(sl), "--L%d--C%d", wp->w_dotline, - wp->w_doto); + getcolpos()); if (len < sizeof(sl) && len != -1) n += vtputs(sl); } |