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 --- fm.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'fm.h') diff --git a/fm.h b/fm.h index 1d4bcff..b4925c9 100644 --- a/fm.h +++ b/fm.h @@ -1,4 +1,4 @@ -/* $Id: fm.h,v 1.107 2003/01/23 18:37:20 ukai Exp $ */ +/* $Id: fm.h,v 1.108 2003/01/25 17:42:17 ukai Exp $ */ /* * w3m: WWW wo Miru utility * @@ -310,19 +310,19 @@ typedef struct _Line { #endif struct _Line *next; struct _Line *prev; - short len; - short width; + int len; + int width; long linenumber; /* on buffer */ long real_linenumber; /* on file */ unsigned short usrflags; - short size; - short bpos; - short bwidth; + int size; + int bpos; + int bwidth; } Line; typedef struct { int line; - short pos; + int pos; } BufferPoint; #ifdef USE_IMAGE @@ -413,11 +413,11 @@ typedef struct _Buffer { char *real_type; int allLine; short bufferprop; - short currentColumn; + int currentColumn; short cursorX; short cursorY; - short pos; - short visualpos; + int pos; + int visualpos; short rootX; short rootY; short COLS; @@ -469,8 +469,8 @@ typedef struct _Buffer { typedef struct _BufferPos { long top_linenumber; long cur_linenumber; - short currentColumn; - short pos; + int currentColumn; + int pos; struct _BufferPos *next; struct _BufferPos *prev; } BufferPos; -- cgit v1.2.3