diff options
author | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 16:46:32 +0000 |
---|---|---|
committer | Fumitoshi UKAI <ukai@debian.or.jp> | 2001-11-20 16:46:32 +0000 |
commit | 8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3 (patch) | |
tree | ec658a012b39abe4c11a970b68c0bbcd5416ad1d /etc.c | |
parent | * XMakefile (clean): rm tagtable.c (diff) | |
download | w3m-8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3.tar.gz w3m-8ba4eebc4a8e6b95e6cec4bc0e0884303e5c3fa3.zip |
[w3m-dev 02454] line number
From: Hironori Sakamoto <hsaka@mth.biglobe.ne.jp>
Diffstat (limited to 'etc.c')
-rw-r--r-- | etc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 <pwd.h> #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) |