From 6e58e83e1237f1d9ba3dda1aa0cb054253bc4d0e Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Sat, 25 Jan 2003 17:42:17 +0000 Subject: [w3m-dev 03686] Re: fold patch * buffer.c (writeBufferCache): rewrite (readBufferCache): rewrite * etc.c (calcPosition): short -> int realColumn * fm.h (Line): short -> int len,width,size,bpos,bwidth (BufferPoint): short->int pos (Buffer): short->int currentColumn,pos,visualpos (BufferPos): short->int currentColumn,pos * frame.h (frameset_queue): short->int pos,currentColumn * main.c (clear_mark): short->int pos (dispincsrch): short->int pos (backBf): short->int pos (set_buffer_environ): short->int prev_pos From: Hironori SAKAMOTO --- etc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'etc.c') diff --git a/etc.c b/etc.c index 26fcc41..62b8f25 100644 --- a/etc.c +++ b/etc.c @@ -1,4 +1,4 @@ -/* $Id: etc.c,v 1.59 2003/01/23 18:38:06 ukai Exp $ */ +/* $Id: etc.c,v 1.60 2003/01/25 17:42:17 ukai Exp $ */ #include "fm.h" #include #include "myctype.h" @@ -481,7 +481,7 @@ checkType(Str s, Lineprop **oprop int calcPosition(char *l, Lineprop *pr, int len, int pos, int bpos, int mode) { - static short *realColumn = NULL; + static int *realColumn = NULL; static int size = 0; static char *prevl = NULL; int i, j; @@ -494,7 +494,7 @@ calcPosition(char *l, Lineprop *pr, int len, int pos, int bpos, int mode) } if (size < len + 1) { size = (len + 1 > LINELEN) ? (len + 1) : LINELEN; - realColumn = New_Reuse(short, realColumn, size); + realColumn = New_Reuse(int, realColumn, size); } prevl = l; j = bpos; -- cgit v1.2.3