From 8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3 Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 20 Nov 2001 16:46:32 +0000 Subject: [w3m-dev 02454] line number From: Hironori Sakamoto --- etc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'etc.c') diff --git a/etc.c b/etc.c index ec6a3cc..b7498ff 100644 --- a/etc.c +++ b/etc.c @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.4 2001/11/16 22:02:00 ukai Exp $ */ +/* $Id: etc.c,v 1.5 2001/11/20 16:46:32 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -102,7 +102,7 @@ columnSkip(Buffer * buf, int offset) if (l->width - 1 > maxColumn) maxColumn = l->width - 1; } - maxColumn -= COLS - 1; + maxColumn -= buf->COLS - 1; if (column < maxColumn) maxColumn = column; if (maxColumn < 0) -- cgit v1.2.3